Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

C++ Programming/Code/Standard C Library/Functions/fscanf

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

fscanf #include <cstdio> int fscanf( FILE *stream, const char *format, ... ); The function fscanf() reads data from the given file stream in a manner exactly like scanf(). The return value of fscanf() is the number of variables that are actually assigned values, including zero if there were no matches. EOF is returned if there was an error reading before the first match. Related topics fgets - fprintf - fputs - fread - fwrite - scanf - sscanf