1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Calculating Factorial

Discussion in 'C' started by ice661666, Jun 12, 2008.

  1. ice661666

    ice661666 New Member

    Jun 12, 2008
    Likes Received:
    Trophy Points:

    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 ..


Share This Page