TIP: Click on subject to list as thread! ANSI
echo: cis.languages
to: Bruce MacKenzie 71725,376 (X)
from: Tom Breton 71141,3433
date: 1990-06-30 12:04:20
subject: #4581-#Help `c` problem again

#: 4771 S3/Languages
    30-Jun-90  12:04:20
Sb: #4581-#Help 'c' problem again
Fm: Tom Breton 71141,3433
To: Bruce MacKenzie 71725,376 (X)

Bruce, thanks for message 4581. I've been trying to figure out why getchar()
wouldn't let my program continue until it got a . Being a beginner, I
didn't realize it was so dependent on the buffer.

But when I tried read(fileno(stdin),&c,1) it *still* waited for a 
before it would recieve a character. Do I have to go to an even lower level
keyboard scan or something to get it to respond to a single keypress?

    Tom

There is 1 Reply.

SOURCE: compuserve 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™.