![]() |
|
|
|
#1 |
|
I have just started learning c++ and i am facing a problem in one of the programs. I am using recursive functions and want to end the recursion of the function before the full recursion takes place. I dont know how to do so. If i use return then that particular execution of the function ends but the recursion continues. Plz help
rohankataria26 |
|
|
|
|
|
|
#2 |
|
Junior Member
Join Date: May 2007
Posts: 3
|
As I recall, you need to have an escape condition which is valid for all recursions. I wrote this kind of stuff years ago, but haven't have a need for this in years.
Please give me the code you wrote, and I will take a look. sansay |
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Newbie Please Help - Wireless problems | nufc_fan | Hardware | 3 | 10-19-2006 05:08 PM |
| Newbie: Cabling Problems & Progessive (Interlace Or Progressive) Scan Questions, Please | Robert11 | DVD Video | 1 | 05-29-2004 06:16 PM |
| Re: Pioneer DVR-105 and Nero Problems | Ron | DVD Video | 1 | 08-08-2003 06:33 PM |
| Re: Pioneer DVR-105 and Nero Problems | Flossie | DVD Video | 0 | 08-07-2003 02:25 PM |
| Re: Pioneer DVR-105 and Nero Problems | CAM | DVD Video | 0 | 08-07-2003 02:30 AM |