delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/06/24/09:44:43

Date: Thu, 24 Jun 1999 15:36:13 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Alain Van der Eycken <Zidaya AT village DOT uunet DOT be>
cc: djgpp AT delorie DOT com
Subject: Re: newbie seeks help
In-Reply-To: <377153f7.14936577@news.uunet.be>
Message-ID: <Pine.SUN.3.91.990624153017.9070A-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Wed, 23 Jun 1999, Alain Van der Eycken wrote:

>  i was wondering if someone please could answer following questions:

The information you are looking for is in the library reference manual 
(from the DOS prompt, type "info libc functional" and read there).  
Please in the future try to find the answers in the available docs before 
you post questions here.

> 1) How do i use colors in the text-screen ? 

Use library functions `textbackground' and `textcolor'.

> 2) How do i place the cursor on a certain location on the screen ?

Use library functions `gotoxy' and `ScreenSetCursor'.

> 3) How do i retrieve the system time ?

One of the time functions, like `gettimeofday' or `time', should do that.

- Raw text -


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