是什么残培()和getchar函数()之间的区别? [英] What is the difference between getch() and getchar()?

查看:120
本文介绍了是什么残培()和getchar函数()之间的区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么是残培的getchar 功能之间的确切区别?

What is the exact difference between getch and getchar functions ?

推荐答案

的getchar()是一个标准功能,从标准输入得到的字符。

getchar() is a standard function that gets a character from the stdin.

残培()是非标准的。它从键盘的字符(可能是从标准不同),而且不呼应它。

getch() is non-standard. It gets a character from the keyboard (which may be different from stdin) and does not echo it.

这篇关于是什么残培()和getchar函数()之间的区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆