cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1999/04/11/17:23:42

To: djgpp AT delorie DOT com
Date: Sun, 11 Apr 1999 13:23:34 -0800
From: "Brian Ronk" <rithe AT mailcity DOT com>
Message-ID: <OMJLGHBNEMMJDAAA@mailcity.com>
Mime-Version: 1.0
X-Sent-Mail: off
X-Expiredinmiddle: true
X-Mailer: MailCity Service
Subject: Re: 16 color background text
X-Sender-Ip: 205.212.125.136
Organization: MailCity (http://www.mailcity.lycos.com:80)
Reply-To: djgpp AT delorie DOT com

I'm going to use a modified sample that DJ sent me, and DJ your's did work right, I have a feeling I know what my problem is now.  This should conferm it.

#include <conio.h>
#include <pc.h>

int
main()
{
  int r, c;
  clrscr();
  for (r=0; r<16; r++)
  {
    textbackground(r);
    for (c=0; c<16; c++)
    {
      textcolor(c);
      gotoxy(c+1, r+1);
      cprintf("X");
    }
    cprintf("\n");
  }
  blinkvideo();
  getch();
  intensevideo();
  getch();
}

If I'm not mistaken, the textbackground() doesn't work with it for some reason.

Brian Ronk


Get your FREE Email at http://mailcity.lycos.com
Get your PERSONALIZED START PAGE at http://personal.lycos.com

- Raw text -


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