摘要:
1 #include 2 #include 3 4 #define ElemType int 5 #define N 5 //定义链表的结点数目 6 typedef struct Node 7 { 8 Ele... 阅读全文
摘要:
1 #include 2 #include 3 4 #define ElemType int 5 #define N 5 //定义链表的结点数目 6 typedef struct Node 7 { 8 Ele... 阅读全文
摘要:
1、选择排序#include #include #define N 5 //排序的数据个数 typedef struct Num{ int data[N-1]; int length;}Num;int main(int argc, char *argv[]) { int i,j,min; stru... 阅读全文
摘要:
C语言常用的库文件(头文件、函数库) C系统提供了丰富的系统文件,称为库文件。C的库文件分为两类,一类是扩展名为".h"的文件,称为头文件,在前面的包含命令中我们已多次使用过。在".h"文件中包含了常量定义、 类型定义、宏定义、函数原型以及各种编译选择设置等信息。另一类是函数库,包括了各种函数的目... 阅读全文
|