News for hackers. Stuff that matters.
Re:What is your favourite C programming trick? by xtacy on Friday October 14, 2011 @10:37AM (#3111311)
I think you meant:

    int value = c - '0';
Otherwise, value will be negative.

There are no comments on this comment yet.