![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
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 · 736 阅读 · 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 · 462 阅读 · 0 评论