Developing a calculator in C++

This is a discussion on Developing a calculator in C++ within the C++ Programming forums, part of the General Programming Boards category; Hi there. If anyone knows how to develop a program that simulates a calculator that is capable of handling very ...

  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,136
    Built in Windows calc goes pretty high.

  3. #3
    ¡Amo fútbol!
    Join Date
    Dec 2001
    Posts
    2,136
    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,136
    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, 03:33 AM
  4. Replies: 20
    Last Post: 11-19-2003, 08: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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21