www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/09/24/04:00:10

From: "Phoenix Magus" <phoenixm AT akrobiz DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: C++ Q: Basic I/O w/Screen & Keyboard
Lines: 35
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Message-ID: <E1Ar7.145$Le.9754@sea-read.news.verio.net>
Date: Mon, 24 Sep 2001 06:04:20 GMT
NNTP-Posting-Host: 209.57.46.80
X-Complaints-To: abuse AT verio DOT net
X-Trace: sea-read.news.verio.net 1001311460 209.57.46.80 (Mon, 24 Sep 2001 06:04:20 GMT)
NNTP-Posting-Date: Mon, 24 Sep 2001 06:04:20 GMT
Organization: Verio
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I'm a confused novist.  I've read what I can understand from iostream.h and
tutorials from the net.  I've semi-learned a lot of things I wasn't even
looking for and still not much of what I was.  If info gave information on
how, specifically, to do what I'd like to I didn't catch on to it.  If you
could point me to a place I could get information which is closer to what
I'm looking for I'd be greatful.

I want to be able to display a field with a format to the screen and have
the user fill it in.  I think I saw something in the info from iostream.h
but there seemed only to be a reference to being able to input with
"`printf'-style format control string"  I tried looking in other info files
for printf but the only other reference says something about a file not
being there when I try to enter the node.

I also would like to be accept a single character at a time while the
program is looping through other stuff.  I know I saw a command that could
tell if a button was pressed, and that it was quick and could be used in a
loop, but that seemed to be all it did.

After I've retrieved my input and processed it, I'd like to be able to print
any length string to any row and column.  I saw many commands for this but
the miriad of possibilities was simply causing more confusion to my already
addled brain.  I am, for now, unable to understand the need for so many of
them.  Since there are so many, I need to figure out which I should use and
which I should avoid.

I hope the questions are understandable.

Thank You Very Much in advance.

Bryce Byrd




- Raw text -


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