Introduction - If you have any usage issues, please Google them yourself
Queen's game program. An 8-by-8 board is designed to allow users to place 8 queens (chess pieces) on a checkerboard grid. For every two queen cannot in the same line, vertical lines and 45 degrees or 135 degrees on the diagonal lines of (i.e., in accordance with the requirements of the rules of chess any two queens can't is in a state of direct attack each other). If the user put the pieces do not conform to the requirements of the above, the program is given, according to the error and please mark can design a more intuitive way to attack each other of the two queen, and then asked to put the pieces. When all eight queens are placed on the board, and any two queens can't attack each other, it shows the success of the information and the time spent.
Packet : 615498318queen.rar filelist
Queen\MainFrm.cpp
Queen\MainFrm.h
Queen\Queen.aps
Queen\Queen.clw
Queen\Queen.cpp
Queen\Queen.dsp
Queen\Queen.dsw
Queen\Queen.h
Queen\Queen.ncb
Queen\Queen.plg
Queen\Queen.rc
Queen\QueenDoc.cpp
Queen\QueenDoc.h
Queen\QueenView.cpp
Queen\QueenView.h
Queen\ReadMe.txt
Queen\res\Queen.ico
Queen\res\Queen.rc2
Queen\res\QueenDoc.ico
Queen\res\Toolbar.bmp
Queen\Resource.h
Queen\StdAfx.cpp
Queen\StdAfx.h
Queen\Queen.opt
Queen\Debug
Queen\res
Queen