getchar的用法

C语言

C语言

C语言:getchar函数的用法? C语言getchar()和gets()的用法: 1、gets读一行,getchar()读一个字符。 2、函数用法: 1)gets()用于从标准输入流stdin读入一个整行(以'\n'或EOF)结束,......