fscanf & EOF

Gary Schaps gls at novavax.UUCP
Tue Feb 12 02:11:42 AEST 1991


Would some kind soul care to illuminate for me why this code dumps core?

	 while ( (fscanf(input,"%8s%1s%2s", part_number, delimiter, 
		  part_class)) && (feof(input)) ) 

Thanks.

-- 

Gary L. Schaps	
gls at novavax.nova.edu



More information about the Comp.lang.c mailing list