getchar()与getch()

getch()按键后立即读取,getchar()从输入流中读取输入,所以getch()交互性更强。getchar()包含在stdio.h中,getch()包含在conio.h中。

posted @ 2018-05-21 11:36  李艺  阅读(104)  评论(0)    收藏  举报