04 2021 档案
摘要:C语言实现的链栈,包括基本操作: 代码: #include<stdio.h> #include<stdlib.h> //链栈 typedef struct student { char name[10]; int age; }Student; // typedef student Student;
阅读全文
摘要:为了方便关机,写了关机的批处理命令,但是双击运行时cmd中一直执行第一条命令! ___ 命令 :___ shutdown /s /f /t 1 ___ 一直重复 : ___ 经过搜索,原来是文件名称的问题。shutdown是windows的保留名称,重新命名即可。
阅读全文
摘要:c语言实现的顺序栈包括一些基本操作 #include<stdio.h> #include<stdlib.h> //顺序栈 typedef struct book { char name[10]; float price; }book; typedef book Book; typedef struc
阅读全文
摘要:c语言实现的双链表结构,包括插入,查找,删除,清空,销毁等基本操作 代码如下: #include<stdio.h> #include<stdlib.h> typedef struct student { char name[10]; int age; }student; typedef studen
阅读全文
摘要:包括初始化,创建,查询,长度,删除,清空,销毁等操作 代码如下: #include<stdio.h> #include<stdlib.h> //定义单链表的数据类型 typedef struct book { char name[10]; char code[10]; float price; }b
阅读全文
摘要:单链表创建链表出现问题,一开始以为是length函数有错,但是排查不出来,经过博客问答,知到了问题的根本原因,随便还改正了代码混乱的毛病 博问链接: https://q.cnblogs.com/q/134034/ 错误代码: #include<stdio.h> #include<stdlib.h>
阅读全文
摘要:解决方法: 在登录界面(win+L进入登录界面),按住shift键,点击 电源 按钮,点击 重启 【疑难解答】【高级设置】【启动修复】 之后就解决问题了。 当时找的解决问题的链接:http://www.xitongcheng.com/jiaocheng/win10_article_57339.htm
阅读全文
摘要:c语言数据结构的错误笔记 错误原因:代码的各个函数都没有问题,经过csdn上面的问答,了解到了是主函数出了问题,按我的思想是实现顺序存储然后再顺序输出,对于插入函数我没有意识到我用的是头插法,每次插入都是插入到线性表的第一个元素中,主要原因是把线性表的输出与数组的输出混一起了,数组的存储顺序与线性表
阅读全文

浙公网安备 33010602011771号