TIP: Click on subject to list as thread! ANSI
echo: yabbs.unix
to: ALL
from: xenon@yabbs
date: 1993-10-28 17:12:17
subject: Loop until keypress

From: xenon@yabbs
To: all@yabbs
Subject: Loop until keypress
Date: Thu Oct 28 17:12:17 1993

im tryin to write a program to compile on cc that will loop until a key is 
pressed...like this:

do
   ...
while(getchar() = 0);

ONLY, all of the input functions *I* know of will freeze the loop until 
something is entered...any suggestions of how to go about doin this?  you 
may jus save this computer from my .22...;)

--> Xenon

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