#include<stdio.h> int main(){ char str; scanf("%c",&str); printf("%d",str); return 0; } 转载于:https://www.cnblogs.com/lvcoding/p/6735834.html