- UID
- 67179
注册时间2010-5-26
阅读权限10
最后登录1970-1-1
周游历练

该用户从未签到
|
main()
{
char c=0;
while(1)
{
printf("Please inpue a num: ");
scanf("%d",&c);
printf("\n");
printf("Hex:%002xH Assii:%c \n",c,c);
printf("Do you keepon?('Y'or'N'):");
c=getch();
printf("%c\n",c);
if(c !='y')
break;
}
}
调试后能跑,感觉有些地方学的还不扎实,调试了很长时间才弄好. |
|