- 论坛徽章:
- 0
|
%s 后的那个 / 是什么意思?
请看 sscanf 的手册,几乎是应有尽有:
- Each successive pointer argument must correspond properly with each suc-
- cessive conversion specifier (but see ``suppression'' below). All con-
- versions are introduced by the % (percent sign) character. The format
- string may also contain other characters. Whitespace (such as blanks,
- tabs, or newlines) in the format string match any amount of whitespace,
- including none, in the input. Everything else matches only itself.
- Scanning stops when an input character does not match such a format char-
- acter. Scanning also stops when an input conversion cannot be made (see
- below).
复制代码 |
|