【c语言】printf函数自定义封装打印id序列
摘要:
unsigned long printId = 0; char str[100] = {0}; #define MYPRINTF(fmt, ...) do{sprintf(str,"%ld:%s",++printId,fmt);printf(str, __VA_ARGS__);memset(str, 阅读全文
posted @ 2021-11-10 11:26 Ants_hu 阅读(246) 评论(0) 推荐(0) 编辑