Introduction This article illustrates a snippet that permits to add color to console messages. Background Well, does it really need any comments? Using the code This sample shows how to use the library: #include "ConsoleColor.h" std::cout << green << "This text is written in green" << white << std::endl; std::cout << color(FOREGROUND_RED|FOREGROUND_GREEN) << "This text has a really exiting color !