隐藏页面特效
上一页 1 2 3 4 5 6 7 ··· 27 下一页
摘要: 1、矩阵的相关操作以及矩阵快速转置算法的实现(加减乘并未实现) #include<stdio.h> #include<memory.h> #include<stdlib.h> #include<assert.h> #define ElemType int #define MAXSIZE 100 // 阅读全文 »
posted @ 2022-07-03 19:50 往心。 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 1、基于顺序存储下串的相关操作以及串匹配模式算法的实现 #include<stdio.h> #include<string.h> #define MAXSTRLEN 20 #define u_char unsigned char typedef u_char SString[MAXSTRLEN+1] 阅读全文 »
posted @ 2022-06-29 21:10 往心。 阅读(57) 评论(0) 推荐(0) 编辑
摘要: 1、堆栈结构下串基本操作的实现 #include<stdio.h> #include<assert.h> #include<malloc.h> #include<string.h> typedef struct HString //串使用堆存储结构的实现 定义 { char *ch; //串数据存储 阅读全文 »
posted @ 2022-06-24 19:32 往心。 阅读(48) 评论(0) 推荐(0) 编辑
摘要: 1、顺序结构下实现循环队列 #include<stdio.h> #include<assert.h> #include<malloc.h> #define ElemType int #define MAXSIZE 9 typedef struct Queue //队列节点结构体 { ElemType 阅读全文 »
posted @ 2022-06-23 19:21 往心。 阅读(41) 评论(0) 推荐(0) 编辑
摘要: 1、链队基本操作的实现 #include<stdio.h> #include<assert.h> #include<malloc.h> #define EType int typedef struct QueueNode //队列节点结构体 { EType data; //节点数据域 struct 阅读全文 »
posted @ 2022-06-21 19:11 往心。 阅读(75) 评论(0) 推荐(0) 编辑
摘要: 1、利用顺序栈实现进制的转换(该节代码文件类型均为.cpp) #include<stdio.h> #include<malloc.h> #include<assert.h> #include<stdlib.h> #include<iostream> #define ElemType int #def 阅读全文 »
posted @ 2022-06-20 18:55 往心。 阅读(45) 评论(0) 推荐(0) 编辑
摘要: 1、栈的基本结构以及顺序实现下的一些基本操作 #include<stdio.h> #include<malloc.h> #include<assert.h> #include<stdlib.h> #define ElemType int #define STACK_INIT_SIZE 8 #defi 阅读全文 »
posted @ 2022-06-19 16:45 往心。 阅读(117) 评论(0) 推荐(0) 编辑
摘要: 1、关于org.apache.commons.dbutils中handlers.BeanListHandler<T> 部分源码如下: public List<Object> getList(Class type, String sql) { QueryRunner qr = new QueryRun 阅读全文 »
posted @ 2022-06-19 15:22 往心。 阅读(45) 评论(0) 推荐(0) 编辑
摘要: // 线性表的动态分配顺序存储结构 #define LIST_INIT_SIZE 100 //线性表存储空间的初始分配量 #define LISTINCREMENT 10 //线性表存储空间的分配增量 typedef struct { int *elem; //存储空间基地址 int length; 阅读全文 »
posted @ 2022-06-18 19:12 往心。 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 1、合并A、B线性表至A表中并去除重复元素 //此函数为合并线性表A和B的函数 合并两表重复元素 void union(List &La,List Lb) //该函数中La作为输入和输出。Lb作为输入 { //将所有在线性表Lb中但不在La中的数据元素插入到La中 La_len = ListLeng 阅读全文 »
posted @ 2022-06-16 18:55 往心。 阅读(496) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 27 下一页
点击右上角即可分享
微信分享提示