From: "Smith A. Cat" Newsgroups: comp.os.msdos.djgpp Subject: Re: simple question re: conio.h Date: 17 Jan 1998 11:26:00 -0700 Organization: Blue Square Laboratories Lines: 18 Message-ID: <34C0293B.1FB@primenet.com> References: <34BD8993 DOT 35DA AT primenet DOT com> <34BF2C5E DOT 1B232C07 AT csun DOT edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Ryan Bright wrote: > > Smith A. Cat wrote: > > Has anyone got a code fragment that uses conio.h functions to get > > colored text?? When I try to use them I ALWAYS get the default colors > You are probably trying to combine conio.h functions with stdio.h > functions which really doesn't work. You should use one or the other. > In other words, use 'cprintf()', not 'printf()'. If that's not what > you're doing, then here's a piece of code I just tested--worked fine. OOPS! Thank you both -- I was totally ignorant of the console functions, ie cprintf. That was the problem. Thank You! Phil