C小知识点
Change__
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
qsort函数的使用
函数原型:void qsort(void *base, int nelem, int width, int(*fcmp)(const void*, const *))头文件:#include是否是标准函数:是函数功能:对记录进行从小到大的快速排序。参数base指向存放待排序列的数组的首地址,nelem为数组中元素的个数,width为每个元素的字节数,int(*fcmp)(const v原创 2014-07-17 17:03:27 · 886 阅读 · 0 评论 -
数据结构初学————栈的基本操作
#include #include #include typedef struct Node{ int data; struct Node *pNext;}NODE, *PNODE;typedef struct Stack{ PNODE pTop; PNODE pBottom;}STACK, *PSTACK; // PSTACK 等价于 struct Stack *原创 2014-07-24 15:18:53 · 522 阅读 · 0 评论
分享