会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
梦开始的地方
博客园
首页
新随笔
联系
订阅
管理
2023年5月
进制之间的转换
摘要: 二进制、八进制、十六进制向十进制进行转换: 进制转换 二进制 八进制 十六进制 十进制 0b1010 0o12 A 10 0b111 0o15 D 13 0b001 0o1 1 1
阅读全文
posted @ 2023-05-10 19:05 梦开始的地方
阅读(67)
评论(0)
推荐(0)
2022年7月
队列的链式存储
摘要: 1 #include <stdio.h> 2 #include <stdlib.h> 3 typedef struct node{ 4 int data; 5 struct node *next; 6 }LinkNode; 7 typedef struct{ 8 LinkNode *front,*r
阅读全文
posted @ 2022-07-13 20:28 梦开始的地方
阅读(23)
评论(0)
推荐(0)
循环队列
摘要: 1 #include <stdio.h> 2 #include <stdlib.h> 3 4 #define MaxSize 50 5 typedef struct{ 6 int data[MaxSize]; 7 int front,rear; 8 }Queue; 9 //初始化 10 bool I
阅读全文
posted @ 2022-07-12 20:05 梦开始的地方
阅读(35)
评论(0)
推荐(0)
链栈
摘要: 1 //链栈 2 typedef struct LinkStack1{ 3 int data; 4 struct LinkStack1 *next; 5 }StackNode,*LinkStack; 6 7 //初始化 8 bool InitStack(LinkStack &S){ 9 S=(Lin
阅读全文
posted @ 2022-07-11 21:23 梦开始的地方
阅读(20)
评论(0)
推荐(0)
顺序栈的实现
摘要: #include <stdio.h> #include <stdlib.h> #define MaxSize 50 //顺序栈 typedef struct{ int data[MaxSize]; int top; }Stack; //初始化 bool InitStack(Stack &S){ S.
阅读全文
posted @ 2022-07-11 20:33 梦开始的地方
阅读(33)
评论(0)
推荐(0)
双链表(头插法)
摘要: #include <stdio.h> #include <stdlib.h> typedef struct node{ int data; struct node *prior; struct node *next; }Node,*LinkList; //初始化(头插法) bool InitList
阅读全文
posted @ 2022-07-10 17:03 梦开始的地方
阅读(193)
评论(0)
推荐(0)
单链表(头插法和尾插法)
摘要: #include <stdio.h> #include <stdlib.h> typedef struct node{ int data; struct node *next; }Node,*LinkList; //初始化(头插法) /*bool InitList(LinkList &L){ L=(
阅读全文
posted @ 2022-07-09 19:11 梦开始的地方
阅读(84)
评论(0)
推荐(0)
顺序表的实现(动态分配内存)(含静态分配)
摘要: 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <stdbool.h> 4 //#define MaxSize 100 5 /*静态分配*/ 6 /*typedef struct{ 7 int data[MaxSize]; 8 int le
阅读全文
posted @ 2022-07-04 21:49 梦开始的地方
阅读(115)
评论(0)
推荐(0)
顺序表的基本操作(静态分配内存)
摘要: 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <stdbool.h> 4 #define MaxSize 100 5 typedef struct{ 6 int data[MaxSize]; 7 int length; 8 }Sqlist
阅读全文
posted @ 2022-07-04 21:26 梦开始的地方
阅读(50)
评论(0)
推荐(0)
2021年8月
Tomcat启动之窗口一闪而过以及乱码的解决方案
摘要: 启动Tomcat时,需要我们双击startup.dat文件,但是在今天的启动过程中我发现出现了黑窗口一闪而过的问题,于是我各处找资料,终于解决了该问题。据此,我总结了以下几种解决方案。 第一种:首先检查JAVA_HOME环境变量是否配置成功。 在键盘按win+r打开DOS窗口,输入cmd命令,然后输
阅读全文
posted @ 2021-08-03 22:43 梦开始的地方
阅读(756)
评论(0)
推荐(0)
下一页
公告