Chinaunix首页 | 论坛 | 博客
  • 博客访问: 527408
  • 博文数量: 96
  • 博客积分: 2960
  • 博客等级: 少校
  • 技术积分: 1850
  • 用 户 组: 普通用户
  • 注册时间: 2006-12-11 15:25
文章分类

全部博文(96)

文章存档

2009年(37)

2008年(59)

我的朋友

分类: C/C++

2009-06-19 08:54:24

the C99 standard has the following:

6.10.8 Predefined macro names

The following macro names shall be defined by the implementation:

__DATE__ 
__FILE__
__LINE__
__STDC__
__STDC_HOSTED__
__STDC_MB_MIGHT_NEQ_WC__
__STDC_VERSION__
__TIME__

The following macro names are conditionally defined by the implementation:

__STDC_IEC_559__ 
__STDC_IEC_559_COMPLEX__
__STDC_ISO_10646__

6.4.2.2 Predefined identifiers

The identifier __func__ shall be implicitly declared by the translator as if, immediately following the opening brace of each function definition, the declaration

     static const char __func__[] = "function-name";
阅读(1524) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~