文件名称:mataqipan
- 所属分类:
- 数据结构常用算法
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2016-01-13
- 文件大小:
- 111kb
- 下载次数:
- 0次
- 提 供 者:
- 梁**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
(1) 问题描述:
设计一个国际象棋的马踏棋盘的演示程序.
(2) 基本要求:
将马随机放在国际象棋的8*8棋盘的某个方格中,马按走棋规则进行移动.要求每个方格只进入一次,走遍棋盘上全部64个方格.编制非递归程序,求出马的行走路线,并按求出的路线,将1,2,…,64依次填入一个8*8的方阵,输出之.
(3) 程序的输入和输出及程序的功能:
使用者输入一个位置如:3,4.注意中间默认要以”,”隔开.并且数字的大小要在[0,7].程序会根据使用者的要求进行一次以8*8矩阵形式输出结果或演示寻找行走路线的回溯过程.
-(1) descr iption of the problem:
Design a chess board horse riding board demo program.
(2) basic requirements:
The horses were placed in the chess board 8* 8 a box, Ma playing chess rules according to mobile. Requires that each box to enter only one, traveled on board all 64 squares. The preparation of non recursive program, seeking to lobby the walking route, and according to the calculated route will be 1,2,... , 64 in order to fill in a 8*8 matrix, the output.
(3) the input and output of the program and the function of the program:
The user to enter a position such as 3,4. pay attention to the middle of the default to , separated. And the size of the digital to program in [0,7]. according to user s requirement of a 8* 8 matrix to output the results or demo for walking route back in the process.
设计一个国际象棋的马踏棋盘的演示程序.
(2) 基本要求:
将马随机放在国际象棋的8*8棋盘的某个方格中,马按走棋规则进行移动.要求每个方格只进入一次,走遍棋盘上全部64个方格.编制非递归程序,求出马的行走路线,并按求出的路线,将1,2,…,64依次填入一个8*8的方阵,输出之.
(3) 程序的输入和输出及程序的功能:
使用者输入一个位置如:3,4.注意中间默认要以”,”隔开.并且数字的大小要在[0,7].程序会根据使用者的要求进行一次以8*8矩阵形式输出结果或演示寻找行走路线的回溯过程.
-(1) descr iption of the problem:
Design a chess board horse riding board demo program.
(2) basic requirements:
The horses were placed in the chess board 8* 8 a box, Ma playing chess rules according to mobile. Requires that each box to enter only one, traveled on board all 64 squares. The preparation of non recursive program, seeking to lobby the walking route, and according to the calculated route will be 1,2,... , 64 in order to fill in a 8*8 matrix, the output.
(3) the input and output of the program and the function of the program:
The user to enter a position such as 3,4. pay attention to the middle of the default to , separated. And the size of the digital to program in [0,7]. according to user s requirement of a 8* 8 matrix to output the results or demo for walking route back in the process.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
马踏棋盘 姜胜平 3106006504\Desktop_1.ini
..........................\Desktop_2.ini
..........................\visual c++所有生成文件\Debug\Desktop_1.ini
..........................\......................\.....\Desktop_2.ini
..........................\......................\.....\vc60.pdb
..........................\......................\.....\马踏棋盘.exe
..........................\......................\.....\马踏棋盘.obj
..........................\......................\.....\马踏棋盘.pdb
..........................\......................\Desktop_1.ini
..........................\......................\Desktop_2.ini
..........................\......................\马踏棋盘.cpp
..........................\......................\马踏棋盘.dsp
..........................\......................\马踏棋盘.dsw
..........................\......................\马踏棋盘.exe
..........................\......................\马踏棋盘.ncb
..........................\......................\马踏棋盘.opt
..........................\......................\马踏棋盘.plg
..........................\马踏棋盘.cpp
..........................\马踏棋盘.exe
..........................\马踏棋盘的程序之文本格式.txt
..........................\visual c++所有生成文件\Debug
..........................\visual c++所有生成文件
马踏棋盘 姜胜平 3106006504