摘要: int sscanf(const char* str, const char* format, ...)functions: Reads data from str and stores them according to the parameter format into the locations given by the additional arguments. Locations pointed by each additional argument are filled with their corresponding type of value specified in the 阅读全文
posted @ 2010-04-25 20:13 liyuxia713 阅读(173) 评论(0) 推荐(0) 编辑
摘要: sprintf: http://www.cplusplus.com/reference/clibrary/cstdio/sprintf/Portotype: int printf(char* str, const char* format, parameters);Writes into the array pointed by str a C string consisting on a sequence of data formatted as the format argument specifies. After the format parameter, the function e 阅读全文
posted @ 2010-04-25 19:23 liyuxia713 阅读(209) 评论(0) 推荐(0) 编辑