Thread: new data type

  1. #1
    Registered User
    Join Date
    Jan 2003
    Posts
    4

    new data type

    I am working on a project that requires that I store a rather large integer. Is there a way to create a data type of a new size to fit my needs.

    Thanks!

  2. #2
    Registered User
    Join Date
    Jan 2003
    Posts
    4
    __int64 is still too small. It needs to be bigger.
    Last edited by jackson; 01-03-2003 at 11:23 PM.

  3. #3
    just curious, what are you making? 64 bits can make a huge number.

  4. #4
    Registered User
    Join Date
    Jan 2003
    Posts
    4
    recursive function that will calculate 100!

  5. #5
    Registered User
    Join Date
    Dec 2002
    Posts
    119
    You can always create your own class that holds "any sized" int in a string and overloads the mathamatical operators. Or have a look around the net there are dozens of such classes floating around.

    -Futura
    If you speak or are learning Spanish, check out this Spanish and English Dictionary, it is a handy online resource.
    What happens is not as important as how you react to what happens. -Thaddeus Golas

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Getting an error with OpenGL: collect2: ld returned 1 exit status
    By Lorgon Jortle in forum C++ Programming
    Replies: 6
    Last Post: 05-08-2009, 08:18 PM
  2. Can you check what is wrong with this code
    By Ron in forum C++ Programming
    Replies: 4
    Last Post: 08-01-2008, 10:59 PM
  3. Please Help - Problem with Compilers
    By toonlover in forum C++ Programming
    Replies: 5
    Last Post: 07-23-2005, 10:03 AM
  4. C diamonds and perls :°)
    By Carlos in forum A Brief History of Cprogramming.com
    Replies: 7
    Last Post: 05-16-2003, 10:19 PM
  5. Warnings, warnings, warnings?
    By spentdome in forum C Programming
    Replies: 25
    Last Post: 05-27-2002, 06:49 PM