随笔分类 -  07、数据结构

数据结构基本知识
摘要:数据结构-有序单链表的集合运算#include "stdafx.h" #include "malloc.h" typedef struct Node { char data; Node *next; }List; // 创建单链表 void CreateList(List *&L, char a[], int n) { List 阅读全文
posted @ 2019-01-13 22:59 tuqunfu 阅读(541) 评论(0) 推荐(0) 编辑
摘要:数据结构-迷宫// 迷宫问题.cpp : 定义控制台应用程序的入口点。 #include "stdafx.h" #define M 4 #define N 4 #define MaxSize 100 int mg[M + 2][N + 2] = { {1,1,1,1,1,1}, {1,0,0,0,0,1}, {1 阅读全文
posted @ 2017-09-18 22:43 tuqunfu 阅读(157) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示