Code:
#include <windows.h>
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 0x000001);
cout << "This text should be blue";
The different numbers in the 0x000001 part change the colour, eg 0x00000f sets it to bright white.
If SetConsoleTextAttribute() does not work, try SetConsoleTextAttributeA() (A on the end). I'm pretty sure that that is right.
Code:
#include <stdlib.h>
system("cls");
Is what I've always used, but I'm pretty sure theres some other functions for it, in CONIO.H somewhere.
Paul