Is there a way to output colored text to the console? I am using Visual Studio 2010, and only need the code to work in Windows.
I have been unsuccessful in finding a
You can use the system("") command, which is used like that:
cout<<"lol"; system("color 1") // the colours are from 1 to 15. cout<<"Coloured text! yay";