Description: Use of the stack structure to achieve the eight queens problem. Eight queens problem the famous 19th century mathematician Gauss proposed in 1850. His question is: 8* 8 chessboard placed eight queens, it can not attack each other, that is, any two queens are not in the same row, same column, the same diagonal. Please print all possible design algorithms display method. Tips: 1, you can use two methods to achieve recursive or non-recursive 2, to achieve a key algorithms: determining whether any two queens in the same row, same column and the same diagonal
To Search:
File list (Check if you may need any files):
EightQueen\debug\EightQueen.exe
..........\.....\EightQueen.ilk
..........\.....\EightQueen.pdb
..........\EightQueen\Debug\BuildLog.htm
..........\..........\.....\EightQueen.exe.embed.manifest
..........\..........\.....\EightQueen.exe.embed.manifest.res
..........\..........\.....\EightQueen.exe.intermediate.manifest
..........\..........\.....\EightQueen.obj
..........\..........\.....\EightQueen.pch
..........\..........\.....\mt.dep
..........\..........\.....\stdafx.obj
..........\..........\.....\vc80.idb
..........\..........\.....\vc80.pdb
..........\..........\EightQueen.cpp
..........\..........\EightQueen.vcproj
..........\..........\EightQueen.vcproj.xuchenxue-PC.xuchenxue.user
..........\..........\ReadMe.txt
..........\..........\stdafx.cpp
..........\..........\stdafx.h
..........\EightQueen.ncb
..........\EightQueen.sln
..........\EightQueen.suo
..........\..........\Debug
..........\debug
..........\EightQueen
EightQueen