Message-ID: <19981119181615.10973.qmail@hotmail.com> X-Originating-IP: [195.44.9.66] From: "a j" To: djgpp AT delorie DOT com Subject: Re: coloured text MIME-Version: 1.0 Content-Type: text/plain Date: Thu, 19 Nov 1998 10:16:15 PST Reply-To: djgpp AT delorie DOT com >From: "kryton" >Subject: coloured text >Date: 19 Nov 1998 14:27:12 GMT >To: djgpp AT delorie DOT com >Reply-To: djgpp AT delorie DOT com > >Hi >could someone out there shed some light on how to set text colours ? >without using allegro that is :) #include int main(void) { textattr(background_color * 16 + foreground colour ) cprintf("this is coloured text\n"); } background_color is 0 to 7 foreground_color is 0 to 15 ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com