
算法
文章平均质量分 77
「已注销」
只想做一只安安静静的喵
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
dfs实现迷宫
自己想了一晚上没睡觉的成果。我能说我现在越来越觉得编程有趣了么~ 堆栈的头文件#include"stdafx.h"#define DEFAULTSIZE 100;#define OK 1;#define FALSE 0;template//回调函数void visit(ElemType x){ cout << x.row<<","<<x.col << endl;原创 2016-04-15 12:28:37 · 864 阅读 · 0 评论 -
重新实现String
重新实现String#pragma once#include<string.h>#include<iostream>using namespace std;class String{private: char*data; int size;public: String(char*s=""); ~String(); int Search(char*pat原创 2016-04-28 22:41:46 · 342 阅读 · 0 评论