Recursive methods

I tried to get some help on this before, but my topic wasn't even commented on. Can someone please take a look at my other thread and try to help me?

Here's where it is
http://www.cplusplus.com/forum/beginner/72871/
Looking through the code, I think that it needs to be rewritten. It's very hard to look at it and just understand what's happening with it. You use a lot of ifs that are unnecessary in my opinion. Also, it doesn't hurt to have some comments in your program, especially if you want others to troubleshoot it.
Reposted code with another 31 lines of pure comments.
I managed to get the program working correctly. Thanks to all for your help.
Topic archived. No new replies allowed.