Go Back   Velocity Reviews > General Computer Discussion > Software
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread
Old 05-12-2007, 05:25 PM   #1
Unhappy Newbie c++ problems


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
rohankataria26 is offline   Reply With Quote
Old 06-06-2007, 11:29 PM   #2
sansay
Junior Member
 
Join Date: May 2007
Posts: 3
Default
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
sansay is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

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




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46