Math?

This is a discussion on Math? within the C++ Programming forums, part of the General Programming Boards category; Does C++ really need that much math? -Kavity...

  1. #1
    Registered User
    Join Date
    Aug 2001
    Posts
    49

    Math?

    Does C++ really need that much math?
    -Kavity
    i'm not stupid, just a little short on brains.
    Kav's game!
    Featuring:
    # - Goodguy mc goodguy
    * - Bad guy mc badguy
    $ - Princess Mc Cess
    @ - Mcdonalds Mc chicken! mmmmmm

  2. #2
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,825
    Depends on what you want to do.

    Printing hello world doesn't require much math on your part, but making a game or something will.

  3. #3
    Registered User Paro's Avatar
    Join Date
    Feb 2002
    Posts
    160
    knowing math is helpful
    Paro

  4. #4
    ....
    Join Date
    Aug 2001
    Location
    Groningen (NL)
    Posts
    2,386
    As Govtcheez said: it depends on what you want to do. C++ is a programming language and a programming language is used to construct software. This software is used to perform operations, for example controlling a stepping motor, digital filtering of signals, compute primes, maintain a database, to make nice drawings, etc. etc. Depending on the type of application you'll need some math.

    In some cases you not only need math to perform the desired operations, but also need math to construct software. Using math you can derive algorithms or proof the correctness of algorithms.

  5. #5
    Registered User
    Join Date
    Nov 2001
    Posts
    241
    C++ can be really fast for doing math...

    For example I have a program that I was able to find the first 10,000,000 prime numbers in like 7-8 hours with my 933 mhz computer. I still need another program just to read the file though cause 100 - 200 MB in size.

  6. #6
    S­énior Member
    Join Date
    Jan 2002
    Posts
    982
    C++ can be really fast for doing math...

    For example I have a program that I was able to find the first 10,000,000 prime numbers in like 7-8 hours with my 933 mhz computer.
    Is this a joke or a typo . If not you may want to check out -

    http://www.utm.edu/research/primes/p...s/Eratosthenes

  7. #7
    Registered User
    Join Date
    Aug 2001
    Posts
    49

    Wink Thanks for the replys :)

    heh, thanks, I've read a few books and learned alot, I'm just staarting WinAPI programming, and Dos Game programming(hehehe). And I haven't had to use much math yet. But I was curious about it. Thanks alot for the replys
    -Kavity
    i'm not stupid, just a little short on brains.
    Kav's game!
    Featuring:
    # - Goodguy mc goodguy
    * - Bad guy mc badguy
    $ - Princess Mc Cess
    @ - Mcdonalds Mc chicken! mmmmmm

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Math
    By knightjp in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 04-01-2009, 06:36 PM
  2. Help with C++ Math
    By aonic in forum C++ Programming
    Replies: 4
    Last Post: 01-29-2005, 04:40 AM
  3. Basic Math Problem. Undefined Math Functions
    By gsoft in forum C Programming
    Replies: 1
    Last Post: 12-28-2004, 03:14 AM
  4. Math Header?
    By Rune Hunter in forum C++ Programming
    Replies: 26
    Last Post: 09-17-2004, 07:39 AM
  5. toughest math course
    By axon in forum A Brief History of Cprogramming.com
    Replies: 12
    Last Post: 10-28-2003, 10:06 PM

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