-
I know how to make the text a different color using the conio.h library. I am using the free compiler (Borland v 5.5.1) off their website, so it may be different for you. Anyhow, it is really quite simple, look at the code below.
----------------------------
#include <iostream.h>
#include <conio.h>
int main()
{
textcolor(CYAN);
textbackground(BLACK);
clrscr();
cout<< "This text color should be cyan.\n";
getch();
return(0);
}
----------------------------
Make sure to put the colors of the font/background in all capitals. Check the conio.h library for the full list of colors, it is pretty easy to spot.
Hope that helps.
Kyoto Oshiro
http://www.angelfire.com/realm2/horizon/files.html
Horizon Games
Popular pages
Recent additions