⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 hannuotafeidigui.cpp

📁 关于数据结构的各章节的c原代码实现
💻 CPP
字号:
// hannuotafeidigui.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
#include <stdio.h>
#include <stdlib.h>
typedef struct
{
	int nparam;
	char fromparam;
	char toparam;
	char auxparam;
}elemtype;
typedef struct
{
 int top;
 elemtype item[50];
}qstype;
void simtowers(int n,char frompeg,char topeg,char auxpeg);
int main(int argc, char* argv[])
{   
	int n;
	printf("\n输入盘的个数:");
	scanf("%d",&n);
	simtowers(n,'x','z','y');
	return 0;
}
void simtowers(int n,char frompeg,char topeg,char auxpeg)
{
elemtype currarea;
qstype s;
char temp;
short int i;

s.top=-1;
currarea.nparam=0;
currarea.fromparam='';
currarea.toparam='';
currarea.auxparam='';

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -