1. 函数定义
int sscanf ( const char * str, const char * format, ...);
有一种用法:
代码中的 %*s 表明忽略一个字符串, 其中*的定义如下
* | An optional starting asterisk indicates that the data is to be retrieved from the str string but ignored, i.e. it is not stored in the corresponding argument. |
同理也可以将数字忽略