#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;
}

  

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-02-16
  • 2021-09-05
  • 2021-05-21
  • 2022-12-23
  • 2021-08-03
  • 2021-08-05
猜你喜欢
  • 2022-01-19
  • 2021-06-25
  • 2021-07-02
  • 2021-10-12
相关资源
相似解决方案