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.
protip: >>10 is 'hyryst', that reddit faggot. >>1
what was your fucked up program? how was it fucked up?
Till you post about it, I'll assert that >>1-10 is the same faggot.
You're all wrong.
If you check all the standard C functions, you'll notice there isn't a single one that takes 'char' as an argument; back in the day compilers had a difficult job to do with those hz, so the type promotions (which all become int, unless the type is not capable of representing the value) had to be as fit as possible.
Thus, int even when char was meant.
A better example is strchr.
Name:
Anonymous2010-12-17 1:36
Are you GAY?
Are you a NIGGER?
Are you a GAY NIGGER?
If you answered "Yes" to all of the above questions, then GNAA(GAY NIGGER ASSOCIATION OF AMERICA) might be exactly what you've been looking for!