Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. MFC calculator with huge real....

MFC calculator with huge real....

Scheduled Pinned Locked Moved C / C++ / MFC
c++helpquestion
8 Posts 6 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    hmaz4629
    wrote on last edited by
    #1

    i need code of window base calculator which can do operations upto 32 digits which is possible by huge integers or real...can anyone help?????

    H C A 3 Replies Last reply
    0
    • H hmaz4629

      i need code of window base calculator which can do operations upto 32 digits which is possible by huge integers or real...can anyone help?????

      H Offline
      H Offline
      Hans Dietrich
      wrote on last edited by
      #2

      We will be glad to help. Tell us what you have done so far, and we will try to answer questions you have.

      Best wishes, Hans


      [Hans Dietrich Software]

      A H 2 Replies Last reply
      0
      • H Hans Dietrich

        We will be glad to help. Tell us what you have done so far, and we will try to answer questions you have.

        Best wishes, Hans


        [Hans Dietrich Software]

        A Offline
        A Offline
        Albert Holguin
        wrote on last edited by
        #3

        ...that may be too much work for him... :laugh:

        1 Reply Last reply
        0
        • H hmaz4629

          i need code of window base calculator which can do operations upto 32 digits which is possible by huge integers or real...can anyone help?????

          C Offline
          C Offline
          CPallini
          wrote on last edited by
          #4

          Send a letter to the Microsoft, asking for the source code of their calculator application. :rolleyes:

          If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
          This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
          [My articles]

          H 1 Reply Last reply
          0
          • H Hans Dietrich

            We will be glad to help. Tell us what you have done so far, and we will try to answer questions you have.

            Best wishes, Hans


            [Hans Dietrich Software]

            H Offline
            H Offline
            hmaz4629
            wrote on last edited by
            #5

            i have done it with huge integers so far but there is a problem that when i operate anyt function like adding or multiplying there become a dot after my answer and when i try to write again a new value that become written after that dot and previous answer stays on screen. what should i do???

            C 1 Reply Last reply
            0
            • C CPallini

              Send a letter to the Microsoft, asking for the source code of their calculator application. :rolleyes:

              If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
              This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
              [My articles]

              H Offline
              H Offline
              hmaz4629
              wrote on last edited by
              #6

              i have done it with huge integers so far but there is a problem that when i operate anyt function like adding or multiplying there become a dot after my answer and when i try to write again a new value that become written after that dot and previous answer stays on screen. what should i do???

              1 Reply Last reply
              0
              • H hmaz4629

                i have done it with huge integers so far but there is a problem that when i operate anyt function like adding or multiplying there become a dot after my answer and when i try to write again a new value that become written after that dot and previous answer stays on screen. what should i do???

                C Offline
                C Offline
                Cedric Moonen
                wrote on last edited by
                #7

                Without snippet of code, this will be very difficult to answer (and please don't post the full code, only relevant snippets). Did you try to use your debugger ?

                Cédric Moonen Software developer
                Charting control [v3.0] OpenGL game tutorial in C++

                1 Reply Last reply
                0
                • H hmaz4629

                  i need code of window base calculator which can do operations upto 32 digits which is possible by huge integers or real...can anyone help?????

                  A Offline
                  A Offline
                  Andrew Phillips
                  wrote on last edited by
                  #8

                  You need to be a bit clearer on what you want. "32 digits" implies decimal digits but I suspect you may bew talking about 32-bit numbers (ie 32 binary digits) or perhaps 32 hex digits. Also do you just want to calculate using these large numbers or do you want code for a calculator type program with buttons etc. My best guess is that you just want to do calculations on big integers up to 32 hex digits (128-bits). These sorts of numbers are use in things like encryption. I have used the code in this article with success: C++ Integer Class[^].

                  Andrew Phillips http://www.hexedit.com andrew @ hexedit.com

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups