数据结构(c语言版)学习之路
lear_scu
这个作者很懒,什么都没留下…
展开
-
迷宫问题栈实现(数据结构c语言版 )
程序主要参考自严蔚敏老师的数据结构c语言版,在书中程序的大体框架下进行了完善。关于迷宫问题的思路可查阅原书。#include<iostream>using namespace std;#define MAXSIZE 10typedef int Status;typedef struct{ int x; int y;}Postype;typedef struct...原创 2018-07-31 16:01:18 · 2672 阅读 · 0 评论 -
汉诺塔
//汉诺塔2017.7.27#include<iostream>using namespace std;static int c = 1;void move(int n, char x, char y){ cout << c++ << ",把" << n << "从" << x &原创 2018-07-31 16:57:55 · 97 阅读 · 0 评论 -
链表、线性表的初始化和操作。
链表、线性表的初始化和操作。(主要参考自数据结构c语言版)/*2018.7.24,程序主要参考自数据结构c语言版,主要为了自己练手*/#include<iostream>#include<cstdlib>#include<stdio.h>using namespace std;#define OVERFLOW 0#define LIST_IN...原创 2018-08-01 13:48:11 · 1105 阅读 · 0 评论