Xref: utzoo comp.lang.c:26091 comp.sys.ibm.pc:44808 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!texbell!merch!spudge!thorp From: thorp@spudge.UUCP (Don Thorp) Newsgroups: comp.lang.c,comp.sys.ibm.pc Subject: Re: color in text mode Keywords: color Message-ID: <10758@spudge.UUCP> Date: 16 Feb 90 14:17:41 GMT References: <600@scr1.ocpt.ccur.com> Reply-To: thorp@spudge.UUCP (Don Thorp) Followup-To: comp.lang.c Organization: Friends of Guru Bob Lines: 30 In article <600@scr1.ocpt.ccur.com> jeffs@scr1.ocpt.ccur.com (Jeff Schnell ) writes: >I need to setup color for the whole background in text mode with >turbo C. I problem I have is turbo C only sets the color behind a >character and not the whole background. > >Please email if possible > >Jeff Schnell >-- >Jeffrey J. Schnell System Support Eng. | Concurrent Computer Corp. >FAX: 201-870-4249 Ph: (201) 870-4120 | 2 Crescent Place, M/S 117 >UUCP: ucbvax!rutgers!petsd!tsdiag!scr1!jeffs | Oceanport NJ, 07757 >INTERNET: jeffs@scr1.ccur.com I haven't compiled the following, but try it. #include int main(void) { textbackground(RED); clrscr(); } The above routine will set the entire background to RED. Don Thorp UUCP: ..!texbell!rwsys!spudge!thorp INTERNET: thorp@rwsys.lonestar.org