delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/04/27/16:57:43

From: "John" <fubu36 AT stny DOT rr DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: input stream
Lines: 7
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4029.2901
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4029.2901
Message-ID: <kG_N4.14456$wM3.146878@typhoon.nyroc.rr.com>
Date: Thu, 27 Apr 2000 17:21:20 GMT
NNTP-Posting-Host: 24.95.139.17
X-Complaints-To: abuse AT stny DOT rr DOT com
X-Trace: typhoon.nyroc.rr.com 956856080 24.95.139.17 (Thu, 27 Apr 2000 13:21:20 EDT)
NNTP-Posting-Date: Thu, 27 Apr 2000 13:21:20 EDT
Organization: Time Warner Road Runner - Binghamton NY
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

When you are inputing a stram using cin, is there a way to limit the input
to only 15 charaters or 3 digits for a number. Also when the user enter the
string or number, if the hit enter without entering anything first the
cursor resets to a new line, is there anyway to prevent this from happening?
Thanks


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019