
我的数据结构课程设计
喝泉水的泉
这个作者很懒,什么都没留下…
展开
-
散列文件的插入,删除和查找
#include <iostream>#include <windows.h>#include<bits/stdc++.h>using namespace std;typedef struct node{int data;struct node *next;}no;FILE *fp;void goxy(int x,int y){HANDLE handle = GetStdHandle(STD_OUTPUT_HANDLE); COORD..原创 2020-12-18 10:20:50 · 838 阅读 · 0 评论 -
行车路线 计算疲劳值 最短路径
#include <iostream>#include <windows.h>#include<bits/stdc++.h>using namespace std;typedef struct{int vexs[100];int arcs[100][100];int type[100][100];int vnum;int arcnum;}MGraph;int path[100];int d[100];void goxy(int x,int y..原创 2020-12-18 10:18:34 · 189 阅读 · 0 评论 -
中序和层序复原二叉树 中序和先序复原二叉树
#include <iostream>#include <windows.h>#include<bits/stdc++.h>using namespace std;typedef struct node{char data;struct node *lchild,*rchild;}tree,*ptree;void goxy(int x,int y){HANDLE handle = GetStdHandle(STD_OUTPUT_HANDLE);..原创 2020-12-18 10:16:15 · 243 阅读 · 0 评论 -
迷宫问题求解
#include <iostream>#include <windows.h>#include<bits/stdc++.h>using namespace std;void goxy(int x,int y){HANDLE handle = GetStdHandle(STD_OUTPUT_HANDLE); COORD pos = { 0 }; pos.X = x; pos.Y = y; SetConsoleCursorPo..原创 2020-12-18 10:13:49 · 103 阅读 · 0 评论 -
学生信息登记表,链表实现
#include <iostream>#include <windows.h>#include <bits/stdc++.h>using namespace std;typedef struct student{ long int num;//学号 char name[20];//姓名 int foxscore;//fox成绩 int cscore;//C语言 int englishscore;//英语成绩 in..原创 2020-12-18 10:10:46 · 337 阅读 · 0 评论