写像密码? [英] writing like password?

查看:57
本文介绍了写像密码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


如您所知,在UNIX中何时要键入密码,监视器中什么也没显示?
如何在c中实现它?
tnx

hi ,
as you know when in UNIX you want to type password nothing display in monitor?
how can i implement it in c?
tnx

推荐答案

您只接受键盘输入,但不显示它.您可以为此使用conch.h中的getch.
You just accept keyboard input but don''t display it. You would use getch for this, which is in conio.h.


这篇关于写像密码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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