From: jackstinchcombe AT my-dejanews DOT com Newsgroups: comp.os.msdos.djgpp Subject: I cant get textattr to work Date: Thu, 05 Nov 1998 17:50:05 GMT Organization: Deja News - The Leader in Internet Discussion Lines: 17 Message-ID: <71sogc$pkq$1@nnrp1.dejanews.com> NNTP-Posting-Host: 206.18.101.166 X-Article-Creation-Date: Thu Nov 05 04:38:54 1998 GMT X-Http-User-Agent: Mozilla/4.05 [en] (Win95; I ;Nav) X-Http-Proxy: 1.0 x8.dejanews.com:80 (Squid/1.1.22) for client 206.18.101.166 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I cant get textattr, textcolor or textbackground to work, the colour combination on the screen stays the same. The following code just puts "this is a test" on the screen in the normal white-on-black, rather than the red-on-white i expected. Any ideas what im doing wrong? #include #include void main(void) { textcolor (12); textbackground (15); printf("\nthis is a test\n"); } -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own