This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Newbie:getch??



# Ok, depending on the plataform where you are working
# on, you should use the ncurses library or something
# like that.  At least, that's the only way I know.
# 
# --- Joachim <nuklear@singnet.com.sg> escribió:
# > Hi there!
# > I'm very new with gcc so please forgive me my stupid
# > question!
# > 
# > I was wondering if there would be a function
# > available that reads only
# > one character from stdin.
# > To be more specific I need something that works the
# > same way as:
# > kbhit() or...
# > getch() or...
# > getche() alias Borlands <conio.h>

I'm currently coordinating development on a project to develop a
Borland C-style conio library, as part of our Synergist project. I can let
you have a copy if you like? It's not complete, but what's implemented
currently should be enough to get you started.

Let me know if this would be any help.

-- 
Mo McKinlay                                T: +44 (0) 709 22 55 05  x1
Chief Software Architect                   F: +44 (0) 709 22 55 05  x3
inter/open                                 E: mmckinlay@labs.interopen.org
A division of Bekon Marketing Limited      W: http://www.interopen.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]