- 1
sscanf
what is sscanf? what does it do?
3 Respostas
+ 5
Below is the format of sscanf:
int sscanf(char *str, char *fmt, arg1, arg2,...)
sscanf scans the provided str according to the format in fmt, and stored the resulting values through arg1, arg2, etc. These arguments must be pointers.
https://code.sololearn.com/cRaErVs2XzgU/?ref=app
+ 3
Here it is:
https://www.sololearn.com/learn/C/2937/?ref=app
Instead of standard input (stdin), it reads data from the source string, which is provided as the first argument. The other arguments are just like that of scanf.
+ 1
Its like scanf but it read from a string and not from stdin
http://www.cplusplus.com/reference/cstdio/sscanf/