Description: Write programs to solve the eight Queens chess problem: in 8 rows and 8 columns of placing 8 Queens on the Board, made it impossible for either a Queen eating other 7 Queen (Note: Queen may eat with her peers or other pieces on the same column, or diagonal), and the results are displayed in a certain way.
For example, when you find out a solution of the following, you can output the following message to indicate that the solution (the output display coordinate position of the Queen and "Checkerboard"-Board position of the Queen in a "Q" characters, other locations for the "+" character).
(1,1) (5,2) (8,3) (6,4) (3,5) (7,6) (2,7) (4,8)
Q+++++++
++++++ Q+
++++ Q+++
+++++++ Q
+ Q++++++
+++ Q++++
+++++ Q++
++ Q
To Search:
File list (Check if you may need any files):
bahuanghou\bahuanghou.cpp
..........\bahuanghou.dsp
..........\bahuanghou.dsw
..........\bahuanghou.ncb
..........\bahuanghou.opt
..........\bahuanghou.plg
..........\Debug\bahuanghou.exe
..........\.....\bahuanghou.ilk
..........\.....\bahuanghou.obj
..........\.....\bahuanghou.pch
..........\.....\bahuanghou.pdb
..........\.....\vc60.idb
..........\.....\vc60.pdb
..........\Desktop_.ini
..........\Debug
bahuanghou