I am a newbie to C++ but not to programming. I am proficient in VB 6.0
and have some skills in VB.net. Recursion is a new idea for me and being
from the VB world I rested heavily on stepping through code to learn the
order code would execute in. I am using Dev-C++ with the MinGW compiler.
I understand the syntax:
void counter(int End)
{
cout<< " ";
cout<< End;
if( End != 0 ){
counter(End-1);
}
}
My brain seems to get tangled with trying to visualize the way the code
coils and uncoils. I have stepped through this twenty or thirty times
but I suppose I am looking for some caveat to help gel the concept.
Something like how would this look sitting on the stack?
Thank you all for sharing your experience with the community.
Mark Jones
ia**********@gmail.com