Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C Standard Library oddity

Name: Anonymous 2008-06-25 9:12

int fputc(int c, FILE *stream);

So why does fputc take an integer when it writes an unsigned char?
Believe it or not, I actually had a fucked up program because of this and it took so long to get it right because I couldn't understand what was wrong.

Name: Anonymous 2008-06-25 15:24


Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List