TIP: Click on subject to list as thread! ANSI
echo: yabbs.unix
to: ALL
from: buzzbomb@yabbs
date: 1994-04-29 09:36:54
subject: re: Chr by Chr mode..

From: buzzbomb@yabbs
To: washbord@yabbs
Subject: re: Chr by Chr mode..
Date: Fri Apr 29 09:36:54 1994

i'm not sure how to quote here but... "i need functions to read a
single chr with no wait till key hit and the complimentary func which
outputs chrs..." huh? does that mean you want it to read in a 
char before the user inputs it? if you mean without an EOL after it,
i think getch() in C, and cin.get() in C++ will do the job for char-
by-char input. and then a while ((ch=cin.get())!='\n); to kill the
rest of the line...
   cout.put(char ch) will output a char at a time in C++, is it
putch(char ch) in standard C? i think so.
  hope that's what you needed.

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