geno
Lifer
Ok, here goes. Last time you guys helped me out big time with a programming issue I was having. We just started learning about recursion and pointers, and it was kinda thrown at us rather quickly. It seems like this is a common exercise when it comes to learning a programming language though. The problem is, most of the students are clueless 😱 Has anyone ever done this problem out before? The object is to write a function that will move *4* disks/rings across 3 pegs, and report the moves made (if you know how the Towers of Hanoi works, you know the rules...1 disk/move at a time/bigger disks have to be on the bottom). I'm not asking for someone to do my homework for me, just a small push in the right direction since I can't get any help from my classmates (too bad we're all clueless about this assignment 🙁 ). If anyone has done this, any help is GREATLY appreciated 🙂