TIP: Click on subject to list as thread! ANSI
echo: yabbs.unix
to: ALL
from: washbord@yabbs
date: 1994-04-21 00:04:05
subject: Chr by Chr mode..

From: washbord@yabbs
To: washbord@yabbs
Subject: Chr by Chr mode..
Date: Thu Apr 21 00:04:05 1994

I'm trying unix programming for the first time and am having trouble 
reading single chars properly.  I want to have a loop which prints chrs to 
the screen and stops if a key is hit.  I've  tried using fgetchar (fgetc) 
but the think waits until a key is hit and enter is pressed.  Am I using 
the wrong funcs or what?  While your at it... I need functions to read a 
single chr with no wait till key hit and the complimentary func which 
outputs chrs..

Thanks..

SOURCE: yabbs via textfiles.com

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™.