TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: JAMIE KOWINSKY
from: DARIN MCBRIDE
date: 1997-11-17 20:29:00
subject: keyboard input.. under unix?

 JK> Can anyone direct me to a method or perhaps post some sample code of
 JK> how I would achive somthing like character by character keyboard input
 JK> under unix?  
Non-portably.
 JK> I'll be using HP-UX's C++ compiler, but I'm hoping 
 JK> theres a way to do it as standard ansi c++.
Nope.  IIRC, though, HP's port of GCC has a getch() type function, which is 
merely a macro.  If you can find it in the header files, do a man on the 
function it calls.
--- Maximus/2 3.01
---------------
* Origin: Tanktalus' Tower BBS (1:250/102)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.