摘要: 二进制、八进制、十六进制向十进制进行转换: 进制转换 二进制 八进制 十六进制 十进制 0b1010 0o12 A 10 0b111 0o15 D 13 0b001 0o1 1 1 阅读全文
posted @ 2023-05-10 19:05 梦开始的地方 阅读(67) 评论(0) 推荐(0)
摘要: 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)
摘要: 启动Tomcat时,需要我们双击startup.dat文件,但是在今天的启动过程中我发现出现了黑窗口一闪而过的问题,于是我各处找资料,终于解决了该问题。据此,我总结了以下几种解决方案。 第一种:首先检查JAVA_HOME环境变量是否配置成功。 在键盘按win+r打开DOS窗口,输入cmd命令,然后输 阅读全文
posted @ 2021-08-03 22:43 梦开始的地方 阅读(756) 评论(0) 推荐(0)