Skip to content

Instantly share code, notes, and snippets.

@zachelko
Created April 2, 2010 19:45
Show Gist options
  • Save zachelko/353604 to your computer and use it in GitHub Desktop.
Save zachelko/353604 to your computer and use it in GitHub Desktop.
ASCII tricks
// 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