一、 文件格式化读入函数 fscanf()int fscanf(文件指针,格式化字符串,输入列表);返回值: 整形,输入列表中定义字符串的个数。1, 例如读取字符串:char str1[256], str2[256];FILE *file;int n,m;n=fscanf(file,"%s%s",s... Read More
posted @ 2014-05-26 15:27 vranger Views(6553) Comments(0) Diggs(0)