从获取键盘输入,而不在C'回报' [英] Get an input from keyboard without 'return' in C

查看:150
本文介绍了从获取键盘输入,而不在C'回报'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在C / MAC OS获得键盘输入,而不pressing回归

How do i get an input from keyboard, without pressing 'return' in C / Mac Os

推荐答案

从comp.lang.c常见问题解答:
我怎样才能从键盘读取一个字符,而无需等待回车键?我怎样才能从画面上回荡停止字符他们输入?

From the comp.lang.c FAQ: How can I read a single character from the keyboard without waiting for the RETURN key? How can I stop characters from being echoed on the screen as they're typed?

这篇关于从获取键盘输入,而不在C'回报'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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