Hi all,
How i do the factorial very large number in c++ ..Please give me sugestion and code
thanks in advance
prasenjit_das
-6
Newbie Poster
Recommended Answers
Jump to PostDo not ask for code. Suggestions are fine. I would suggest using a 256-base system and store the digits in an std::string. Make this into a class with all the normal arithmetic operators defined. Next add a function called factorial (or maybe overload the ! operator?) and write the traditional …
All 3 Replies
Labdabeta
182
Posting Pro in Training
Featured Poster
gerard4143
371
Nearly a Posting Maven
jmichae3
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.