#includeusing namespace std;int main(){ int x; cout<<"请输入数字(1-128范围):"; cin>>x; cout<<"字符是:"; cout< return 0;}这是整型转化为字符型
int c;scanf("%d", &c);printf("%c", c+'0');