This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How To Make A Recursive Function ?

Hey fellow programmers.
Now Im doing my second semester with programming. Im very good with C++ [B] and objects [B] and other stuff [B] and I am excellent at macros [A]. Ive got a copy of K&R!
But I need to do CONWAYS LIFE with recursive functions.
I want to make the following recursive function: xm+1 = xm - F(x)/F'(x)
Examples?

it normally lasts 16 weeks. 4 litres of

Parents
  • OK - but the technique is perfectly general.

    You should be able to find plenty of examples in any good programming textbooks.

    Possibly the classic textbook example is the computation of a factorial...

    You should also consider the dangers of a recursive implementation - particularly on a resource-constrained embedded system...

Reply
  • OK - but the technique is perfectly general.

    You should be able to find plenty of examples in any good programming textbooks.

    Possibly the classic textbook example is the computation of a factorial...

    You should also consider the dangers of a recursive implementation - particularly on a resource-constrained embedded system...

Children
No data