Skip to content

Instantly share code, notes, and snippets.

@kyleawayan
Last active March 2, 2021 10:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kyleawayan/9941b87f207480b5fe86a37db7d67d2c to your computer and use it in GitHub Desktop.
Save kyleawayan/9941b87f207480b5fe86a37db7d67d2c to your computer and use it in GitHub Desktop.
char symmetricLetters[] = {'A', 'H', 'I', 'M', 'O', 'T', 'U', 'V', 'W', 'X', 'Y', '8', '0'};
std::pair<char, char> symmetricPairs[] = {{'9', 'P'},
{'A', 'A'},
{'I', 'I'}};
std::cout << symmetricLetters[0]; // A
std::cout << symmetricLetters[2]; // I
std::cout << symmetricPairs[0].first; // 9
std::cout << symmetricPairs[0].second; // P
std::cout << symmetricPairs[2].first; // I
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment