Mail Archives: djgpp/1999/11/26/01:36:13
I don't know about C++ functions, but you could just use the C functions...
The functions you would be looking for are cprintf, textcolor and
textbackground (the last 2 being the same names as the Pascal functions ;)...
To get ahold of these functions, #include <conio.h>
- frEk
Bryan Woody wrote:
> Michael Bronner wrote in message
> <81jpar$p70$1 AT oak DOT prod DOT itd DOT earthlink DOT net>...
> >Hi there!
> >I used to do some Turbo Pascal and GW Basic, and in those two languages it
> >was simple to output text in a colored format, to set the background and
> >foreground color of the text, etc. Can this be done in DJGPP C++ as well?
> >Thanks for your help!
>
> I'm not sure if there's a function or anything, but you could always use
> ANSI.SYS...
>
> >
> >Sincerely,
> >Michael G. Bronner
> >
> >
> >
- Raw text -