Last active
January 3, 2016 10:19
-
-
Save zodiac1111/2457b3d4f2057cf6b15e to your computer and use it in GitHub Desktop.
知道长度打印字符串(不是以\0结尾的),如httpmsg,
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
printf("%*.s",len,str); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment