KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm creating a Caesar Cipher in c++ and i can't figure out how to increment a letter. I need to increment the letter by 1 each time and return the next letter in the alphabet. Something like the following to add 1 to 'a' and return 'b' . char letter[] = "a"; cout << letter[0] +1;
Tags (comma-separated)
Save Edits
Cancel