what is the different between scanf and sscanf
one different that im not sure if im correct is that with sscanf you can you "\0" to find if the string has ended?
what is the different between scanf and sscanf
one different that im not sure if im correct is that with sscanf you can you "\0" to find if the string has ended?
Well...Originally Posted by ddimit02
Originally Posted by C99 Clause 7.19.6.4 Paragraph 1
Originally Posted by C99 Clause 7.19.6.7 Paragraph 1
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
You could always just read the man pages. Or, any text on C for that matter. In short:
scanf - read from standard input device
sscanf - read from a string
fscanf - read from a file stream
Quzah.
Hope is the first step on the road to disappointment.