"cout color" Code Answer's

You're definitely familiar with the best coding language C++ that developers use to develop their projects and they get all their queries like "cout color" answered properly. Developers are finding an appropriate answer about cout color related to the C++ coding language. By visiting this online portal developers get answers concerning C++ codes question like cout color. Enter your desired code related query in the search bar and get every piece of information about C++ code related question on cout color. 

c++ print colorful

By Nasty NightingaleNasty Nightingale on Jul 15, 2020
//the following are UBUNTU/LINUX, and MacOS ONLY terminal color codes.
#define RESET   "\033[0m"
#define BLACK   "\033[30m"      /* Black */
#define RED     "\033[31m"      /* Red */
#define GREEN   "\033[32m"      /* Green */
#define YELLOW  "\033[33m"      /* Yellow */
#define BLUE    "\033[34m"      /* Blue */
#define MAGENTA "\033[35m"      /* Magenta */
#define CYAN    "\033[36m"      /* Cyan */
#define WHITE   "\033[37m"      /* White */
#define BOLDBLACK   "\033[1m\033[30m"      /* Bold Black */
#define BOLDRED     "\033[1m\033[31m"      /* Bold Red */
#define BOLDGREEN   "\033[1m\033[32m"      /* Bold Green */
#define BOLDYELLOW  "\033[1m\033[33m"      /* Bold Yellow */
#define BOLDBLUE    "\033[1m\033[34m"      /* Bold Blue */
#define BOLDMAGENTA "\033[1m\033[35m"      /* Bold Magenta */
#define BOLDCYAN    "\033[1m\033[36m"      /* Bold Cyan */
#define BOLDWHITE   "\033[1m\033[37m"      /* Bold White */

Source: stackoverflow.com

Add Comment

2

cout color

By Mysterious MagpieMysterious Magpie on Nov 10, 2020
#define RESET   "\033[0m"
#define BLACK   "\033[30m"      /* Black */
#define RED     "\033[31m"      /* Red */
#define GREEN   "\033[32m"      /* Green */
#define YELLOW  "\033[33m"      /* Yellow */
#define BLUE    "\033[34m"      /* Blue */
#define MAGENTA "\033[35m"      /* Magenta */
#define CYAN    "\033[36m"      /* Cyan */
#define WHITE   "\033[37m"      /* White */
#define BOLDBLACK   "\033[1m\033[30m"      /* Bold Black */

Add Comment

1

All those coders who are working on the C++ based application and are stuck on cout color can get a collection of related answers to their query. Programmers need to enter their query on cout color related to C++ code and they'll get their ambiguities clear immediately. On our webpage, there are tutorials about cout color for the programmers working on C++ code while coding their module. Coders are also allowed to rectify already present answers of cout color while working on the C++ language code. Developers can add up suggestions if they deem fit any other answer relating to "cout color". Visit this developer's friendly online web community, CodeProZone, and get your queries like cout color resolved professionally and stay updated to the latest C++ updates. 

C++ answers related to "cout color"

View All C++ queries

C++ queries related to "cout color"

Browse Other Code Languages

CodeProZone