|
From: Daniel W. M. <d_w...@ho...> - 2002-03-18 21:29:44
|
Hello! 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). Please anybody helpme!! Daniel Wilches M. d_w...@ho... Hola!! 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... Por favor: ayuda!! Daniel Wilches M. d_w...@ho... |