#include <stdio.h> #include "head.h" #define TRUE 1 #define FALSE 0 #if defined (TRUE) && !defined (FALSE) #error YOU NEED TO DEFINE FALSE... #elif defined (FALSE) && !defined (TRUE) #error you need to define true... #endif int main(void){ out(); printf("a:%d head:%d\n",a,__HEAD_H__); printf("当前编译的文件:%s\n",__FILE__); printf("当前编译的文件行:%d\n",__LINE__); printf("当前编译的文件日期:%s\n",__DATE__); printf("当前编译的文件时间:%s\n",__TIME__); printf("当前编译的文件所在函数:%s\n",__func__); return 0; }