The standard predefined macros are specified by the C and/or C++ language standards, so they are available with all
compilers that implement those standards. Older compilers may not provide all of them. Their names all start with double underscores.

__FILE__--------------当前文件的名字
__BASE_FILE--------假设a.h被b.c包含,那么__FILE__是a.h,__BASE_FILE__是b.c。
__LINE__--------------是当前的行数

相关文章:

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