I have an array which is as follows:
fmove[1001][2]
and I want to display it as follows:
1 x 9 x 17 x ... x
2 x 10 x 18 x ... x
3 x 11 x 19 x 1000 x
4 x 12 x 20 x
5 x 13 x 21 x
6 x 14 x 22 x
7 x 15 x 23 x
8 x 16 x 24 x
Any ideas?
Thanks
Thanks Dave ...
How else can I do the iterations ?
I mean I have to have loops inside loops because if the whole rout ends after 4 moves I want it to start over until it does 63 moves around the board!
Anyway thanks a lot !
Terry
I'm trying to write a knights tour prog with iterations.
Basically the knight has a starting point on the chess board and has to visit all the squares only once!
This is the starting code basically but it seems it doesn't work!
(Surprise surprise!)
#include <iostream>
#include <time.h>...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.