Mail Archives: djgpp/1998/01/17/13:45:26
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
- Raw text -