Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. tchriss

    Display a large array in tabular format!

    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
  2. tchriss

    Can anyone check this?

    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
  3. tchriss

    Can anyone check this?

    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>...

Part and Inventory Search

Back
Top