搜索资源列表
xianxingbiao
- 实习题 [问题描述] 1. 设顺序表中的数据元素递增有序,将插入到顺序表的适当位置上,是该表仍然有序。 [输入] 初始顺序表,插入字符。 [输出] 插入x后线性表的结果 [存储结构] 采用顺序存储结构 [算法的基本思想] 建立一个递增顺序表,插入一个数值并移动元素,使其仍然有序。 程序如下: #include \"iostream.h\" #include <malloc.h> #define LIST_INTI_SIZE 1
wenzhouxueyuan
- #include <stdio.h> #include <stdlib.h> #define OK 1 #define OVERFLOW -2 typedef int status typedef struct LinkList{ //用带表头结点的有序链表表示多项式 float coef //系数 int expn //指数 struct LinkList *next //指向后继的指针
sunxuzhan
- 顺序栈的出栈、入栈、求栈长等基本操作 #include <stdio.h> #include <stdlib.h> #define STACKSIZE 50 typedef char DateType typedef struct-#include <stdio.h> #include <stdlib.h> #define STACKSIZE 50 typedef char DateType typedef
01259361tubianlideyanshi
- 图的遍历的演示(c 语言 数据结构课程设计题) /*定义图*/ typedef struct{ int V[M] int R[M][M] int vexnum }Graph /*创建图*/ void creatgraph(Graph *g,int n) { int i,j,r1,r2 g->vexnum=n /*顶点用i表示*/ for(i=1 i<=n i++) { g->V[i]=i } /*初始化R*/ for(i=1 i<=n i++) for(j=1 j<
bmp
- 解析了BMP 图像的格式, 用c 语言按照BMP 格式读取其数据, 并利用读得的数据 实现图像的空间域的变换。-typedef struct tagBITMAPINFOHEADER
ta7335
- //频道号 菜单清除定时器 //频道号显示标志位 //数字选台 typedef struct atv_uipara-menu_osd_off_timmer_id __u8 num_timmer_id __u8 ch_menu_clear_timer_id //频道号 菜单清除定时器 __u8 atv_search_tid //HTHEME h_bmp_loading[2] __s32 paint_flag __s32 submenu_p