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 #192154 is a reply to message #192146] Tue, 07 March 2006 21:33 Go to previous messageGo to previous message
CPUKiller is currently offline  CPUKiller
Messages: 17
Registered: June 2005
Karma:
Recruit

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)



http://www.viralsound.com/get/cpukiller.php
 
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: Sat Apr 05 06:16:13 MST 2025

Total time taken to generate the page: 0.00758 seconds