www.digitalmars.com         C & C++   DMDScript  

c++.dos - scanf, sscanf & fscanf functions

reply noobi <noobi_member pathlink.com> writes:
What are the return value for the scanf, sscanf & fscanf functions ?
There are no informations about it in the documentations.

Thanks.
Jul 12 2003
parent "Wichetael" <wichetael gmx.net> writes:
They return an integer which represent the number of fields successfully
read and assigned, read but unassigned fields are not counted. Also they
return EOF if an EOS character is found.

Regards,
Remko van der Vossen.

"noobi" <noobi_member pathlink.com> wrote in message
news:beqs45$31er$1 digitaldaemon.com...
 What are the return value for the scanf, sscanf & fscanf functions ?
 There are no informations about it in the documentations.

 Thanks.

Jul 13 2003