The function fscanf reads data from a supplied input file. The input file is passed as a pointer to a FILE structure.

This is a list of things that you should do when using fscanf:

  1. Check return values
  2. Pass pointers, instead of values
Tags: cplusplus, library, programming
Article created on 2008-08-31 19:08:45

Post a comment