|
From: Ioannis V. <no...@ya...> - 2002-03-19 02:21:13
|
Before you use getche() did you #include <conio.h>? I think you did not. =20 =20 =20 Ioannis =20 * Ioannis Vranos * Programming pages: <http://www.noicys.d2g.com/> http://www.noicys.d2g.com * Alternative URL: <http://run.to/noicys> http://run.to/noicys -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of Daniel Wilches Maradei Sent: Monday, March 18, 2002 11:32 PM To: dev...@li... Subject: [Dev-C++] Getch??? How?? Hello! =20 Anybody knows how to read ONLY one character in DEV-C++?? I (logically) tried with getch() and getche() but these two functions read input from the keyboard until find a carriage return, i DO NOT need that, i need to read only one char (be a 'A', a 'W', a TAB, etc). =20 Please anybody helpme!! Daniel Wilches M. d_w...@ho... =20 =20 Hola!! =20 Alguien sabe como leer solo un caracter del teclado en DEV-C++?? Ya he tratado con getch() y getche() pero estas funciones leen una serie de caracteres hasta encontrar un retorno (enter), lo que yo necesito es que lean tan solo un caracter, como una 'C', una 'a', etc... =20 Por favor: ayuda!! Daniel Wilches M. d_w...@ho... =20 |