Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!rpi!turing.cs.rpi.edu!mcintyre From: mcintyre@turing.cs.rpi.edu (David McIntyre) Newsgroups: comp.sys.ibm.pc Subject: Re: MS-DOS call to read without echo Message-ID: Date: 6 Feb 90 07:38:19 GMT References: <1036@spocm2.UUCP> Reply-To: mcintyre@turing.cs.rpi.edu (David McIntyre) Organization: Rensselaer Instipoly Technitute Lines: 20 In article <1036@spocm2.UUCP> lhv@spocm2.UUCP (Leo Vermeulen) writes: > >I have the following problem: I'm trying to write a C-program, using >Microsoft-C 5.1, that reads a character string from the keyboard and >assigns it to an character array. Since this string is supposed to be >a password, I do not want it echoed to the display. > >Any responses, by e-mail, would be greatly appreciated. > I sent Leo a response by email, but in case anyone else is wondering about this: MSC5.1 has a function called getch(), which gets a character from the console without echo. -Dave Dave "mr question" McIntyre | "....say you're thinking about a plate mcintyre@turing.cs.rpi.edu | of shrimp.....and someone says to office : 518-276-8633 | you 'plate,' or 'shrimp'......"