Thursday, August 11, 2011

C++ recursive function, can't figure out whats wrong?

Ichigo is right. b1 and b2 never change values, you can't get out of your recursion. ++b1 and --b2 are the parameters you have to p from within reorder to reorder!

No comments:

Post a Comment