How do you differentiate between the end of file and an error using fscanf() in C?
According to manual, int fscanf(FILE *stream, const char *format, ...) returns the number of input items successfully matched and assigned, which can be fewer than provided for, or even zero in the ...
No comments:
Post a Comment