enquiry
Erik Mouw
J.A.K.Mouw@its.tudelft.nl
Fri Sep 22 02:15:00 GMT 2000
On 22 Sep 2000 03:23:25 -0000, Adarsh MP wrote:
> I am Adarsh. I am doing my masters in Computers, at Bradley Univ. I am now in
> the midst of developing a project, ie. simulation of an operating system shell.
> I am facing the problem with GCC compiler. I am not able to use the command
> getch() even though it is specified in help.
This is actually the wrong mailing list, this list is about the
development of GCC itself.
> i am trying to use it coz i have to accept the passwords from the user
> without echoing it. Can u plz suggest me a method
> thanking u
The getch() function is not a standard libc function. The correct way
depends on your target system. If you're using a UNIX like system, the
proper way is to use the function getpass(), or build such a function
yourself by using select() and read() on stdin.
Erik
--
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands
Phone: +31-15-2783635 Fax: +31-15-2781843 Email: J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/
More information about the Gcc
mailing list