I am completely newbie to C++. I am doing a practice which consists of building a very simple C++ program.
My teacher emphasizes that it must use recursion with functions and methods. I am wondering how to use recursion within a method in C++. I was looking for some code examples but I haven’t find anything. My deep concerns are how a method calls itself without not knowing the name of its class/instance.
1 Answer