long math problems

Discussion in 'C++' started by blahhh101, Sep 10, 2006.

  1. blahhh101

    blahhh101 New Member

    Joined:
    Sep 10, 2006
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    hi i really need help on making c++ problems about the long math problems like long addition,subtraction, multiplication and division i've only began learning a while ago so i just needed some samples or algorythms for this, if not both would be appreciated, if not a link to some guides about this
    example:
    358
    + 235
    ---------
    593
     
  2. MelechM

    MelechM New Member

    Joined:
    Sep 8, 2008
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
  3. mutantkeyboard

    mutantkeyboard New Member

    Joined:
    Nov 30, 2008
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    well you can use floating point or even double, and if you need "big" numbers use long double
     
  4. hkp819

    hkp819 New Member

    Joined:
    Dec 4, 2008
    Messages:
    59
    Likes Received:
    1
    Trophy Points:
    0
    Related to math calculation using c++
    you can take help form
    stackoverflow.com/questions/245740/which-variables-should-i-typecast-when-doing-math-operations-in-cc
     

Share This Page

  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