|
-
February 21st, 2002, 10:40 AM
#1
fscanf
(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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|