#include<cstdio>
#include<iostream>
using namespace std;
#define COLOR(msg,code) "\033[0;1;"#code"m" msg "\033[0m"
#define RED(msg) COLOR(msg,31)
#define GREEN(msg) COLOR(msg,32)
#define YELLOW(msg) COLOR(msg,33)
#define BLUE(msg) COLOR(msg,44)
#ifdef DEBUG
#define LLOG(frm,args...){\
printf(frm,##args);}
#else
#define LLOG(frm,args...)
#endif
int main()
{
LLOG("helloworld\n");
cout<<RED("helloworld")<<endl;
cout<<GREEN("helloworld")<<endl;
cout<<YELLOW("helloworld")<<endl;
cout<<BLUE("helloworld")<<endl;
return 0;
}
03-23
391
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)