colored output
From: Costache (none_at_none.org)
Date: 11/15/04
- Next message: Francis Glassborow: "Re: Learning C from old books ??"
- Previous message: Alwyn: "Re: Learning C from old books ??"
- Next in thread: Francis Glassborow: "Re: colored output"
- Reply: Francis Glassborow: "Re: colored output"
- Reply: Conrad S.: "Re: colored output"
- Reply: Paul Fedorenko: "Re: colored output"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 15 Nov 2004 11:54:31 +0100
Following question:
if you want a simple output not as a standard, but as colored text, how to
apply?
An example:
#include <iostream.h>
main(void)
{
int a,b;
cout<<"a& b";
cin>>a>>b;
cout<<a<<" "<<b<<endl;
}
This source code makes a standard output (white).
If the strings wanted to be green or red for example, what must I change?
I would be glad to get an answer.
- Next message: Francis Glassborow: "Re: Learning C from old books ??"
- Previous message: Alwyn: "Re: Learning C from old books ??"
- Next in thread: Francis Glassborow: "Re: colored output"
- Reply: Francis Glassborow: "Re: colored output"
- Reply: Conrad S.: "Re: colored output"
- Reply: Paul Fedorenko: "Re: colored output"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]