| | |
what is the path to move to every point of a matrix of 5 column and 5 row once?????
Please support our C++ advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Nov 2009
Posts: 4
Reputation:
Solved Threads: 0
what is the path to move to every point of a matrix of 5 column and 5 row once?????
0
#1 Nov 5th, 2009
can somebody help me with this program??
i have to program a matrix with n column and n row and it should be able to find a path moving like a horse in chess game(L) that touch every point of the matrix once. the program consist in enter the location where i want to start (n,n) n=1,2,3,4,5 and the computer will calculate the path...
ex: starting from (1,1) we have:
1 6 15 10 21
14 9 20 5 16
19 2 7 22 11
8 13 24 17 4
25 18 3 12 23
you can see that the sequence of the numbers is in L. i need at least a start head
i have to program a matrix with n column and n row and it should be able to find a path moving like a horse in chess game(L) that touch every point of the matrix once. the program consist in enter the location where i want to start (n,n) n=1,2,3,4,5 and the computer will calculate the path...
ex: starting from (1,1) we have:
1 6 15 10 21
14 9 20 5 16
19 2 7 22 11
8 13 24 17 4
25 18 3 12 23
you can see that the sequence of the numbers is in L. i need at least a start head
![]() |
Similar Threads
- Maze in array problem (C++)
- Add VB data grid column and row (Visual Basic 4 / 5 / 6)
- Column/Row Headers (Python)
- Pointers (archived tutorial) (C++)
- memory management in wndows 2000 (Windows NT / 2000 / XP)
- Matrix (C++)
- is this matrix code working? (C++)
- C++ enumerated data type help (C++)
- Memory game with c++ console applicaton (C++)
- Error in compiling matrix (C++)
Other Threads in the C++ Forum
- Previous Thread: About matris allocation and reading pgm files
- Next Thread: problem with a logic error
Views: 130 | Replies: 0
| Thread Tools | Search this Thread |
Tag cloud for C++
6 api application array arrays based beginner binary bmp c++ c/c++ calculator char char* class classes code compile compiler console conversion convert count data delete deploy dll download dynamiccharacterarray encryption error file format forms fstream function functions game givemetehcodez graph homeworkhelp iamthwee ifstream input int java lib library lines list loop looping loops map math matrix memory newbie news number numbertoword output pointer problem program programming project python random read recursion recursive reference return rpg search simple sort sorting spoonfeeding string strings struct temperature template templates text tree url variable vector video visual visualstudio void win32 windows winsock wordfrequency wxwidgets





