+ 3
Converting string to code
how to convert string to ASCII
2 Antworten
0
Just assign the char to an int variable.
int x;
x = 'a';
cout << x;
output should be 97
0
to add to that answer, put the string into an array of characters, then loop through that technique