文件名称:mataqipan
- 所属分类:
- 其他小程序
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 10kb
- 下载次数:
- 0次
- 提 供 者:
- su***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
设计一个国际象棋的马踏遍棋盘的演示程序。
将马随机放在国际象棋的8×8棋盘Board[8][8]的某个方格中,马按走棋规则(见题集p98)进行移动。要求每个方格只进入一次,走边棋盘上全部64个方格。编制非递归程序,求出马的行走路线,并按求出的行走路线,将数字1,2,3,…,64依次填入一个8×8的方阵,输出之。
-To design a chess board horse travels to the demonstration program. The horses were randomly placed in 8 × 8 chess board Board [8] [8] in a box, horse by walking chess rules (see the title set p98) to move it. Requires that each box is only entered once, take the side of all the 64 squares on a chessboard. The preparation of non-recursive procedures, seeking to run for walking routes, and then find the routes will be the number 1,2,3, ..., 64 in turn fill in an 8 × 8 of the square, the output of.
将马随机放在国际象棋的8×8棋盘Board[8][8]的某个方格中,马按走棋规则(见题集p98)进行移动。要求每个方格只进入一次,走边棋盘上全部64个方格。编制非递归程序,求出马的行走路线,并按求出的行走路线,将数字1,2,3,…,64依次填入一个8×8的方阵,输出之。
-To design a chess board horse travels to the demonstration program. The horses were randomly placed in 8 × 8 chess board Board [8] [8] in a box, horse by walking chess rules (see the title set p98) to move it. Requires that each box is only entered once, take the side of all the 64 squares on a chessboard. The preparation of non-recursive procedures, seeking to run for walking routes, and then find the routes will be the number 1,2,3, ..., 64 in turn fill in an 8 × 8 of the square, the output of.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
马踏棋盘(正式)源程序\HorseVisit.cpp
....................\HorseVisit.dsp
....................\HorseVisit.dsw
....................\HorseVisit.ncb
....................\HorseVisit.opt
....................\HorseVisit.plg
....................\Stack.cpp
....................\Stack.h
马踏棋盘(正式)源程序
....................\HorseVisit.dsp
....................\HorseVisit.dsw
....................\HorseVisit.ncb
....................\HorseVisit.opt
....................\HorseVisit.plg
....................\Stack.cpp
....................\Stack.h
马踏棋盘(正式)源程序