delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/08/10:01:41

From: sandhurst AT sandhurst DOT com DOT au (Paul Hubbard)
Newsgroups: comp.os.msdos.djgpp
Subject: clear screen leaves colours
Date: Sat, 08 Mar 1997 10:23:11 GMT
Organization: Customer of Access One Pty Ltd, Melbourne, Australia
Lines: 27
Message-ID: <5frb45$ahc@news.mel.aone.net.au>
NNTP-Posting-Host: d37-1.cpe.bendigo.aone.net.au
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi,

I'm new to DJGPP but may a say what a _great_ compiler!

Anyway, here's my trouble -

Running under win95 :( , I write a program like so

#include "conio.h"

void main()
{
        clrscr();
        
        getch();
}

Anyway, when the program runs the clear screen command, the whole screen is 
set to one colour (usually blue) and any text I write comes out white.

Can somebody please help?

Paul :)

***Paul  C. Hubbard (sandhurst AT sandhurst DOT com DOT au)*****
            Fall of the House of Romanov
***http://www.acslink.aone.net.au/sandhurst/romanov**

- Raw text -


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