int asc(str s,int n); //s:字符串 //n:字符串的位置 0表示第一个字符 //返回:对应位置字符的asc码
str s=“ABC"; int a; a=asc(s,0); //0x41