C++函數(shù)(fscanf()函數(shù))

字號(hào):

fscanf
    語(yǔ)法: #include
    int fscanf( FILE *stream, const char *format, ... );
    函數(shù)fscanf()以scanf()的執(zhí)行方式從給出的文件流中讀取數(shù)據(jù). fscanf()的返回值是事實(shí)上已賦值的變量的數(shù),如果未進(jìn)行任何分配時(shí)返回EOF.