B Barnaby W. Füi Elite Member Aug 14, 2001 12,343 0 0 Nov 9, 2004 #3 To check whether you're at the end of the file, use feof(stdin), or test if your getchar'd char == EOF. (I believe)
To check whether you're at the end of the file, use feof(stdin), or test if your getchar'd char == EOF. (I believe)