输入一个 ASCII 码,输出对应的字符。
一个整数,即字符的 ASCII 码,保证存在对应的可见字符。
输入 #
65
输出 #
A
代码:
#include <iostream>
using namespace std;
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
int main(int argc, char** argv) {
int a;
cin>>a;
cout<<char(a)<<endl;
return 0;
}