c 2b 2b cout colored output xcode

Solutions on MaxInterview for c 2b 2b cout colored output xcode by the best coders in the world

showing results for - "c 2b 2b cout colored output xcode"
Joséphine
28 Jan 2021
1//the following are UBUNTU/LINUX, and MacOS ONLY terminal color codes.
2#define RESET   "\033[0m"
3#define BLACK   "\033[30m"      /* Black */
4#define RED     "\033[31m"      /* Red */
5#define GREEN   "\033[32m"      /* Green */
6#define YELLOW  "\033[33m"      /* Yellow */
7#define BLUE    "\033[34m"      /* Blue */
8#define MAGENTA "\033[35m"      /* Magenta */
9#define CYAN    "\033[36m"      /* Cyan */
10#define WHITE   "\033[37m"      /* White */
11#define BOLDBLACK   "\033[1m\033[30m"      /* Bold Black */
12#define BOLDRED     "\033[1m\033[31m"      /* Bold Red */
13#define BOLDGREEN   "\033[1m\033[32m"      /* Bold Green */
14#define BOLDYELLOW  "\033[1m\033[33m"      /* Bold Yellow */
15#define BOLDBLUE    "\033[1m\033[34m"      /* Bold Blue */
16#define BOLDMAGENTA "\033[1m\033[35m"      /* Bold Magenta */
17#define BOLDCYAN    "\033[1m\033[36m"      /* Bold Cyan */
18#define BOLDWHITE   "\033[1m\033[37m"      /* Bold White */
19
similar questions
queries leading to this page
c 2b 2b cout colored output xcode