This shows you the differences between two versions of the page.
c:stdio.h:fgetc [2014/12/04 13:03] 201.167.242.131 |
c:stdio.h:fgetc [2014/12/04 13:27] (current) Daniel Gohlke old revision restored (2013/01/22 22:02) |
||
---|---|---|---|
Line 22: | Line 22: | ||
{ | { | ||
FILE *stream; | FILE *stream; | ||
- | int c; | + | char c; |
if((stream=fopen("test.txt","r"))==NULL) { | if((stream=fopen("test.txt","r"))==NULL) { |