#include <windows.h>
#include <tchar.h>
int main(int argc, _TCHAR* argv[])
{
system("title The bad way to change the console title");
SetConsoleTitle(_T("The better way to change the console title") );
return 0;
}
I gave you a link to the win32 API where it says which functions to call to set the title, color, etc. Grey Wolf just gave you a turn-key solution to how to use the API.
The idea here is that if you spend 5 minutes looking at the supplied link, you might find that the is A LOT you can do using the win32 API (apart from changing window titles) - a lot of which can not be done using system() - and it is all quite easy.