2013年8月10日
摘要: 碰到了printf的一个很奇葩的用法。A width or precision may be specified as *, in which case the value is compputed by converting the next argument (which must be an int). For example, to print at most max characters from a string s.#include #include int main() { int max; char *s = "this is a test!\n"... 阅读全文
posted @ 2013-08-10 23:37 Still_Raining 阅读(174) 评论(0) 推荐(0)