Actually, it is a decimal ASCII code. In C++, if you want to convert the ASCII code value into characters, you can use "" (backslash) + ASCII code. For example:
#include<iostream>
using namespace std;
int main(){
char a;//定义一个char类型变量
a=104;
cout<<a<<endl;
cout<<"4"<<endl; //你在运行时会发现两个都是一样的
}
Actually, it is a decimal ASCII code. In C++, if you want to convert the ASCII code value into characters, you can use "" (backslash) + ASCII code.
For example: