Quote Originally Posted by crazyben21 View Post
But my next mission is to learn how to debug.
That should have been at the top of your list.

I will be blunt -- you shouldn't even consider writing any computer program unless you are ready to debug such a program. Debugging is part and parcel of learning how to write programs.

Your program consists of structs, for loops, functions, passing parameters, etc., so this is no beginner program. At this stage, it is hard to believe that no one has stressed the importance of debugging to you.

Regards,

Paul McKenzie