Hi,
is there a factorial function implemented on math lib?
Alternatively, is there any way I could check if it's implemented on my compiler?

thanks

Recommended Answers

All 2 Replies

No there isn't and again no.
You would have to write your own. Search the forums its a VERY popular question.

It will turn up alot of material for you to look at, including recursive and non-recursive.

Chris

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.