Reads data from the stream and stores them according to the parameter format into the locations pointed by the additional arguments.Syntax:
int fscanf ( FILE * stream, const char * format, ... );Example:
int main ()
char str ;
FILE * pFile;
pFile = fopen ("myfile.txt","w+");
fprintf (pFile, "%f %s", 3.1416, "PI");
fscanf (pFile, "%f", &f);
fscanf (pFile, "%s", str);
printf ("I have read: %f and %s \n",f,str);
All information of this service is derived from the free sources and is provided solely in the form of quotations.
This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 204 / 159132898. Delta: 0.03264 с