Barnaby W. Füi

Elite Member
Aug 14, 2001
12,343
0
0
To check whether you're at the end of the file, use feof(stdin), or test if your getchar'd char == EOF. (I believe)