when you say scan, i think it scans through the
file, but it doesn't appear that way.
if i open a file (FILE *), and then try to scan a int
does not work, unless a number is the first thingCode:int myInt; fscanf(stream,"%ld",&myInt);
in the file.
if the following lines are in the file, no valid numberCode:12 asdifj
is returned :
My question is why doesn't it work, and is there a way toCode:adsfkl37adfjkasd asdiufhaiueis 87
scan from the beginning of the file to the end and pull out all