Created
April 2, 2010 19:45
-
-
Save zachelko/353604 to your computer and use it in GitHub Desktop.
ASCII tricks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Add letters to our vector using ASCII conversion (saves typing =p) | |
for (int i = 65; i < 91; i++) | |
{ | |
char letter = static_cast<char> (i); | |
alphabet.push_back(QString(letter)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment