Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » General Discussions » General Discussion » OT: C++ Recursion
Re: OT: C++ Recursion [message #192158 is a reply to message #192154] Tue, 07 March 2006 22:03 Go to previous messageGo to previous message
icedog90 is currently offline  icedog90
Messages: 3483
Registered: April 2003
Karma:
General (3 Stars)
CPUKiller wrote on Tue, 07 March 2006 20:33

Looking Recursively:

1 + ValueOf(5) (11%2-> 1, 11/2 -> 5)
	  1 + ValueOf(2) (5%2-> 1, 5/2 -> 2)
	      0 + ValueOf(1) (2%2-> 0, 2/2 -> 1)
	         1 + ValueOf(0) (1%2-> 1, 1/2 -> 0)




Thanks a ton... I fully understand it now. That got rid of the lock in my brain.

Thanks everyone else. Rocked Over
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: RA2 Mission
Next Topic: Renegade Website
Goto Forum:
  


Current Time: Fri Apr 04 21:18:26 MST 2025

Total time taken to generate the page: 0.00806 seconds