Hey, I'm trying to encrypt a message and I need to know how to convert an ASCII value to a char so I can add 1 to 'a' and it will come out 'b'.
1 2 3
|
char c = 'a';
char b = c+1;
std::cout << b;
|
output
think of letters as a number line.
Last edited on