THY02K
February 21st, 2002, 09:40 AM
(1) How do u identify end of LINE with fscanf?
Any code fragment?
(2) How do u "skip" white spaces?
From MSDN:
"White-space characters: blank (' '); tab ('\t'); or newline ('\n'). A white-space character causes scanf to read, but not store, all consecutive white-space characters in the input up to the next non–white-space character. One white-space character in the format matches any number (including 0) and combination of white-space characters in the input."
It's not very clear without code sample.
THanx in advance.
Any code fragment?
(2) How do u "skip" white spaces?
From MSDN:
"White-space characters: blank (' '); tab ('\t'); or newline ('\n'). A white-space character causes scanf to read, but not store, all consecutive white-space characters in the input up to the next non–white-space character. One white-space character in the format matches any number (including 0) and combination of white-space characters in the input."
It's not very clear without code sample.
THanx in advance.