printf宏定义

来源:互联网 发布:linux 的阿莫 编辑:程序博客网 时间:2024/05/31 00:39
#define ERR(format,...) printf("Line: %d: Func: %s\n"\"×××××"format"×××××\n", __LINE__, __FUNCTION__ ,##__VA_ARGS__)#define MESSAGE(format,...)printf("     "format"     \r", ##__VA_ARGS__)#define LOG printf#define STEP(format, ...) printf("*****"format"*****\n", ##__VA_ARGS__)

0 0
原创粉丝点击