CodePudding user response:
Didn't quite understand what you mean, you two a while loop is the same or different information?If you want to the same information, copy the first read the information directly by the
If it is to read back (that is, different information), then you have to do it again while not good? If you input from the file, then the fseek offset a first read the length is ok
CodePudding user response:
Some problem if you can describe clearly almost solved,Not solve because said don't know what the problem is,
CodePudding user response:
File ends with the EOF,While ((c=getchar ())!=(EOF)...