delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/06/23:36:44

Message-ID: <361AE1D1.15102479@montana.com>
Date: Tue, 06 Oct 1998 21:36:49 -0600
From: bowman <bowman AT montana DOT com>
X-Mailer: Mozilla 4.5b2 [en] (Win95; I)
X-Accept-Language: en
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: How to graphically locate text in standard screen terminal mode
References: <361ac13e DOT 17024152 AT news DOT mci2000 DOT com>
Reply-To: djgpp AT delorie DOT com


Primro wrote:
> 
> standard DOS shell screen is what I'm using. Is there a simple djgpp
> command that allows me to do the equivelent of the QB locate command?

if you have info installed, 

info libc a gotoxy 

will show the dos. Its simple though. 

include <conio.h>
void gotoxy(int x, int y);

That will position the cursor for the next printf.

- Raw text -


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