Using studio always just subtracted ‘0’ from this variable
Answer 1, authority 100%
A char does not contain a character, but just its code, which is interpreted by the I / O system as a character. If you need to display these values in the terminal, you can do this
char a = 'a';
std::cout << (int) a << std::endl;
Or more culturally:
std :: cout & lt; & lt; static_cast & lt; int & gt; (a) & lt; & lt; std :: endl;