随笔分类 - 07、数据结构
数据结构基本知识
摘要:
#include "stdafx.h" #include "malloc.h" typedef struct Node { char data; Node *next; }List; // 创建单链表 void CreateList(List *&L, char a[], int n) { List
阅读全文

摘要:
// 迷宫问题.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
阅读全文
