常用调试方法 DEBUG宏

来源:互联网 发布:ih5制作软件 编辑:程序博客网 时间:2024/05/16 16:57
#include <stdio.h>#define DEBUG(format,args...) \do{\    printf("%d  %s  "format,__LINE__,__FILE__,##args);\}while(0)


0 0