1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

factorial problem

Discussion in 'Software Development' started by omuyelijah, Nov 5, 2007.

Thread Status:
Not open for further replies.
  1. omuyelijah

    omuyelijah Thread Starter

    Joined:
    Jan 10, 2006
    Messages:
    120
    Hello,

    How do one handle the factorial of 10,000 in memory, the solution provided in c or c++?

    Thanks.
     
  2. lotuseclat79

    lotuseclat79

    Joined:
    Sep 12, 2003
    Messages:
    20,583
    Hi omuyelijah,

    One way is to build an indexed array the elements of which points to the answers allocated in memory expressed in terms of strings. Of course, build it from the bottom up. The array could be either an array or built from a list of elements.

    Either C or C++ should work, and would need some nominal amount of memory in which to execute.

    -- Tom
     
  3. Nok1

    Nok1

    Joined:
    Feb 15, 2004
    Messages:
    826
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Similar Threads - factorial problem
  1. n00e
    Replies:
    2
    Views:
    288
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/648048

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice