数据结构学习之递归求解汉诺塔问题

#include 
#include 
using namespace std;

//盘子的数目
#define numOfDisks 3

//在文本文件out.txt中输出结果
ofstream fout("out.txt");

void Move(int n,char x,char y)
{
	fout<<"move "<

你可能感兴趣的:(数据结构与算法)