Thread: Developing a calculator in C++

  1. #1
    Registered User
    Join Date
    Mar 2002
    Posts
    2

    Developing a calculator in C++

    Hi there.

    If anyone knows how to develop a program that simulates a calculator that is capable of handling very large nonnegative integers It only needs to do addition and multiplication.
    I would be very happy for some tips.


    Larry

  2. #2
    ¡Amo fútbol!
    Join Date
    Dec 2001
    Posts
    2,138
    Built in Windows calc goes pretty high.

  3. #3
    ¡Amo fútbol!
    Join Date
    Dec 2001
    Posts
    2,138
    If that isn't great enough, you can use unsigned long double.

  4. #4
    Registered User
    Join Date
    Mar 2002
    Posts
    2

    Calculator

    Thnx, but I have to program it in C++ and hand in the code, it's an assignment.

    Larry

  5. #5
    ¡Amo fútbol!
    Join Date
    Dec 2001
    Posts
    2,138
    See above.

  6. #6
    Unregistered
    Guest
    Well, do you want it in windows GUI or the dos prompt?

    Do you have any idea how to start it?

    Telling you to use an unsigned long int (as Larry suggested) is pretty much all of it.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. developing hash tables in the C Programming language
    By w108dab in forum C Programming
    Replies: 1
    Last Post: 05-20-2008, 11:20 AM
  2. Developing SpamFilter
    By andhikacandra in forum C# Programming
    Replies: 4
    Last Post: 10-02-2007, 10:35 AM
  3. Developing stone age games
    By geek@02 in forum C++ Programming
    Replies: 5
    Last Post: 03-14-2004, 04:33 AM
  4. Replies: 20
    Last Post: 11-19-2003, 09:38 AM
  5. Dillema: VC++6 or VC# for game developing
    By Unregistered in forum C++ Programming
    Replies: 6
    Last Post: 05-03-2002, 06:51 AM