Use a map<char,char> to store the cypher read from the file. Open the clear text file and loop char-by-char outputting what you've read into the map for that given character.
Use a map<char,char> to store the cypher read from the file. Open the clear text file and loop char-by-char outputting what you've read into the map for that given character.
"Owners of dogs will have noticed that, if you provide them with food and water and shelter and affection, they will think you are god. Whereas owners of cats are compelled to realize that, if you provide them with food and water and shelter and affection, they draw the conclusion that they are gods."
-Christopher Hitchens