delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/12/02/04:35:33

Date: Wed, 2 Dec 1998 11:02:38 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Shaun Jackman <sjackman AT home DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: cin, cout, and conio.h
In-Reply-To: <3664B45B.FF17E2D1@home.com>
Message-ID: <Pine.SUN.3.91.981202110138.24125W-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On Wed, 2 Dec 1998, Shaun Jackman wrote:

> Since the iostream classes aren't compatible with the conio.h functions,
> what should I use for getch(), getche(), gotoxy(), wherex(), and
> wherey()?

You *can* use conio functions with iostream, but you will need to flush 
the stream after writing something and before calling one of the conio 
functions.

- Raw text -


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