Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   Calculating Factorial (http://www.go4expert.com/forums/calculating-factorial-t11277/)

ice661666 12Jun2008 07:14

Calculating Factorial

I want to write C++ program to calculate the factorial for numbers from 1 until 255, the problem is that no variable exist as far as I know that can handle the result for calculating 140! And greater “I am not sure about the number but it is stuck at some level”..

Someone advise me to use this library “http://gmplib.org/” to solve the issue but I couldn’t use the library as I am beginner in programming field..

Can you advise me about a solution or how to use this library step by step ..


All times are GMT +5.5. The time now is 00:24.