www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/06/01/11:17:22

Date: Fri, 1 Jun 2001 11:16:21 -0400
Message-Id: <200106011516.LAA06748@envy.delorie.com>
X-Authentication-Warning: envy.delorie.com: dj set sender to dj AT envy DOT delorie DOT com using -f
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp AT delorie DOT com
In-reply-to: <IwNR6.268$Jx1.951@newsfeed.slurp.net> (azreal@cyberbeach.net)
Subject: Re: Center Text
References: <IwNR6.268$Jx1 DOT 951 AT newsfeed DOT slurp DOT net>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

>     Which header and functions would I use to center my text in a DOS

By printing the right number of spaces before the string, or moving
the cursor.  There really isn't a function specifically to center
text.

> screen. Also how do I make the screen from a prompt go full screen?
> Suggestions, tutorials or refrences would be helpful.

In the DJGPP libc reference, under "Functional Categories" look in the
"conio" section for a number of functions that access the console
screen and keyboard directly.

- Raw text -


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