摘要: printf("%d",a); gets(a);读入一整行 puts(a);自动换到下一行 阅读全文
posted @ 2019-07-25 22:29 Cathycat 阅读(144) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h>#include <stdlib.h>#include<conio.h> int main(){ char a; a=getche(); printf(" 你刚才输入的字母是%c",a); return 0;} a=getch(); 阅读全文
posted @ 2019-07-25 22:05 Cathycat 阅读(148) 评论(0) 推荐(0) 编辑