Is it possible to read from the console with scan without echoing the characters?

大城市里の小女人 提交于 2019-12-05 06:28:40
Paul Hiemstra

This post covers how to read individual keystrokes:

Detecting single keystrokes

The accepted answer uses a small piece of C code that returns individual keystrokes. You can then capture the keystrokes for your password and echo nothing to the user or maybe a *.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!