![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
c语言
千本樱-夕颜xiyan10
这个作者很懒,什么都没留下…
展开
-
__attribute__((unused))
unused:This attribute, attached to a function, means that the function is meant to be possibly unused. GCC will not produce a warning for this function.=====================================转载 2013-08-02 16:09:40 · 858 阅读 · 0 评论 -
str link in c
#include void output(const char *a){ printf("%s", a);}int main(){ output("hello" " " "word"); return 0; }REMER: will be linked together.原创 2013-08-19 10:11:00 · 458 阅读 · 0 评论 -
c符号优先级表备份
原文地址:C语言符号优先级 作者:林生2010优先级运算符名称或含义使用形式结合方向说明1[]数组下标数组名[常量表达式]左到右 ()圆括号(表达式)/函数名(形参表)转载 2013-08-20 11:25:27 · 525 阅读 · 0 评论 -
%I64d
Int64是有符号 64 位整数数据类型,相当于C++中的long long、 C# 中的 long 和 SQL Server 中的 bigint,表示值介于 -2^63 ( -9,223,372,036,854,775,808) 到2^63-1(+9,223,372,036,854,775,807 )之间的整数。存储空间占 8 字节。用于整数值可能超过 int 数据类型支持范围的情况。转载 2013-08-18 18:34:51 · 1241 阅读 · 0 评论 -
c 中的 # #@ ##
source:http://www.cnblogs.com/morewindows/archive/2011/08/18/2144112.html文中__FILE__与示例1可以参见《使用ANSI C and Microsoft C++中常用的预定义宏》宏中的#的功能是将其后面的宏参数进行字符串化操作(Stringizing operator),简单说就是在它引用的宏变量的左右各加上一转载 2013-09-29 15:32:32 · 629 阅读 · 0 评论 -
assert
source:http://www.cnblogs.com/ggzss/archive/2011/08/18/2145017.htmlassert宏的原型定义在中,其作用是如果它的条件返回错误,则终止程序执行,原型定义:#include assert.h>void assert( int expression ); assert的作用是现计算表达式 expression ,转载 2013-09-28 09:42:13 · 463 阅读 · 0 评论