Name: Anonymous 2013-10-20 22:56
Post a random function that you made. May be from any project you've done or make one impromptu.
Any QUALITY is allowed. No bullying!
Any QUALITY is allowed. No bullying!
Out of curiosity, why does the comparison need to be between unsigned values?Don't really remember actually, it's been some time since I wrote this but I *think* I ran it through a test suite and it failed 1 test or so (out of 15) and the
union
fixed it somehow.implicit char <-> unsigned char conversion at the '\0'Wouldn't
0
and '\0'
be both int
or what do you mean? Suggestions welcome. Also, have you even READ DA STANDARD Section 6.4.4?