|Well, you commented out some code at the end, that's 12 lines right there!|
Exercise for the reader:
What two conclusions can you derive from the following?
cout << (int)'z' << " - " << (int)'a' << " = " << (int)('z' - 'a') << '\n'
<< hex << showbase
<< (int)'A' << " (XOR) " << (int)'a' << " = " << ('A' ^ 'a') << '\n';
How To Ask Questions The Smart Way