TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: DARRELL HNIZDOR
from: JONATHAN ROBERTS
date: 1997-10-09 20:14:00
subject: cin.getline

RE: cin.getline
BY: Darrell Hnizdor to All on Tue Oct 07 1997 01:49 pm
 > I have a problem with cin.getline using Borland C++
 > Below is a copy of a function which works fine until referenced within a 
WHI
 > loop, then the cin.getline doesn't execute, however, if I put two 
dentical
 > lines it does execute.  The problem also occurs with other string input
 > functions.
       I cannot tell you WHY this happens, but also does it to me too.  You 
cannot use more than one cin.* in the same program and have it work as 
prescribed.
Jonathan
--- Synchronet+SBBSecho v1.25
---------------
* Origin: The Caverns BBS - 504.831.2825 (1:396/20)

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