#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 ",a,__HEAD_H__); printf("当前编译的文件:%s ",__FILE__); printf("当前编译的文件行:%d ",__LINE__); printf("当前编译的文件日期:%s ",__DATE__); printf("当前编译的文件时间:%s ",__TIME__); printf("当前编译的文件所在函数:%s ",__func__); return 0; }