摘要:
详情可以参考以下资料(本人参考): 1、http://www.open-open.com/lib/view/open1420372620468.html 2、http://blog.csdn.net/whuslei/article/details/6442755 3、http://download. 阅读全文
posted @ 2016-03-29 21:22
章三丰
阅读(218)
评论(0)
推荐(0)
摘要:
qsort 功 能: 使用快速排序例程进行排序 用 法: void qsort(void *base, int nelem, int width, int (*fcmp)(const void *,const void *)); 各参数:1 待排序数组首地址 2 数组中待排序元素数量 3 各元素的占 阅读全文
posted @ 2016-03-29 15:51
章三丰
阅读(1291)
评论(0)
推荐(0)
摘要:
http://www.cnblogs.com/afarmer/archive/2011/05/05/2038201.html 一.基本概念剖析 int* (*a[5])(int, char*); //#1 void (*b[10]) (void (*)()); //#2 double(*)() (* 阅读全文
posted @ 2016-03-29 13:57
章三丰
阅读(423)
评论(0)
推荐(0)
摘要:
一共有十五个优先级: 1 () [] . -> 2 ! ~ -(负号) ++ -- &(取变量地址)* (type)(强制类型) sizeof 3 * / % 4 + - 5 >> << 6 > >= < <= 7 == != 8 & 9 ^ 10 | 11 && 12 || 13 ?: 14 = 阅读全文
posted @ 2016-03-29 12:25
章三丰
阅读(344)
评论(0)
推荐(0)
摘要:
C语言中没有BOOL类型变量,它是C++独有的,由于使用BOOL类型可以使代码更具有可读性,很多编程者都在C中自己定义了类似的应用,一般方法有两种: 第一种:采用宏定义方式 typedef int BOOL; #define true 1 #define false 0 或写为: #ifndef b 阅读全文
posted @ 2016-03-29 11:45
章三丰
阅读(12136)
评论(0)
推荐(0)

浙公网安备 33010602011771号