This is a discussion on Some help for a Noobie! within the C Programming forums, part of the General Programming Boards category; Originally Posted by Elysia There are more elegant solutions... Well, none of them is offered here....
Last edited by Subsonics; 11-29-2009 at 08:43 AM.
I would argue that - '0' explains it even better (how can you subtract two letters from each other?).
To the last, then what is the point of using any method at all? Nothing is perfect. Remember that well. But there are ways to make it more perfect.
Wouldn't it be possible to make a univeral input method that recognices and handles any character encoding properly? I would think so, but I bet it's not going to be elegant. ;-)