计算机二级辅导:标准库assert.h计算机等级考试

文章作者 100test 发表时间 2010:01:04 18:00:13
来源 100Test.Com百考试题网


  打算趁留在学校的最后一段时间好好补习一下一直以来都忽略掉的C/C 标准库,大概就是以头文件为单位了。以一个最简单的头文件入手,然后逐渐展开来……第一个头文件当然非assert.h莫属了。这个范例是i386-pc-mingw32中的GCC 4.5.0下包含的。

  view sourceprint?/*

  * assert.h

  * This file has no copyright assigned and is placed in the Public Domain.

  * This file is a part of the mingw-runtime package.

  * No warranty is given. refer to the file DISCLAIMER within the package.

  *

  * Define the assert macro for debug output.

  *

  */

  /* We should be able to include this file multiple times to allow the assert

  macro to be enabled/disabled for different parts of code.


相关文章


std::vector实例化不需要类定义计算机等级考试
生成手机号码文本c 程序源码计算机等级考试
C 中const用法浅析计算机等级考试
再谈Winsock网络编程入门计算机等级考试
计算机二级辅导:标准库assert.h计算机等级考试
VisualC tr1中的shared_ptr和随机数计算机等级考试
std::tr1全身都是宝计算机等级考试
钩子技术、HOOK技术在VC编程中的应用计算机等级考试
减小VC编译文件体积计算机等级考试
澳大利亚华人论坛
考好网
日本华人论坛
华人移民留学论坛
英国华人论坛