摘要:
老规矩,先来头文件StoreUtil.h#include <iostream>#ifndef SORTUTIL_H#define SORTUTIL_Hclass SortUtil{ public: template <class T> void MergeSort(T randomArray[], int left, int right); //归并推排序,left和right为下标 template <class T> void Merge(T A[], int left, int mid, int right); ... 阅读全文
摘要:
头文件Maze.h#include<iostream>#include <ctime>#ifndef MAZE_H#define MAZE_Hconst char resultSymbol = '#';const char wallSymbolH = '-';const char wallSymbolV = '|';const char wallCorner = '+';const char roomSymbol = ' ';class Maze{public: char **maze; / 阅读全文