Jul 6, 2025
Оfftopic Community
Оfftopic Community
Forums
New posts
Search forums
What's new
Featured content
New posts
New media
New media comments
New resources
New profile posts
Latest activity
Media
New media
New comments
Search media
Resources
Latest reviews
Search resources
Members
Current visitors
New profile posts
Search profile posts
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Lifestyle
Travel and Vacation
Knight's Tour C Program please?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="wiifacebooker" data-source="post: 2385439" data-attributes="member: 821301"><p>Okay so I need some help on developing a C program. Not C# or C++ but just C. I do not know where to begin on this program and I do not have the time due to my job. In other terms, I am asking someone to write this program for me. </p><p></p><p>The program wants me to design a program that tracks the movement of the Knight (chess piece) as it moves from square to square, landing on each square only once. </p><p></p><p>Using arrays, I have to make an 8x8 board and use the variables currentRow and currentColumn to indicate the position of the knight. I also need a counter that goes from 1-64 and I have to print out the first 10 solutions of this program. By solutions I mean the ways the knight touches all 64 squares only once.</p><p></p><p>When you make this program, please keep the type of headers you use to a minimum. I only know stdio.h, stdlib.h, time.h, math.h and how do define arrays and such. I also request that you comment on the program you design so I can understand what you did and make your program easy to read by adding space when necessary.</p><p></p><p>Thank you for your help.</p></blockquote><p></p>
[QUOTE="wiifacebooker, post: 2385439, member: 821301"] Okay so I need some help on developing a C program. Not C# or C++ but just C. I do not know where to begin on this program and I do not have the time due to my job. In other terms, I am asking someone to write this program for me. The program wants me to design a program that tracks the movement of the Knight (chess piece) as it moves from square to square, landing on each square only once. Using arrays, I have to make an 8x8 board and use the variables currentRow and currentColumn to indicate the position of the knight. I also need a counter that goes from 1-64 and I have to print out the first 10 solutions of this program. By solutions I mean the ways the knight touches all 64 squares only once. When you make this program, please keep the type of headers you use to a minimum. I only know stdio.h, stdlib.h, time.h, math.h and how do define arrays and such. I also request that you comment on the program you design so I can understand what you did and make your program easy to read by adding space when necessary. Thank you for your help. [/QUOTE]
Insert quotes…
Name
Verification
Please enable JavaScript to continue.
Loading…
Post reply
Top