Does C++ really need that much math?
-Kavity
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
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.
-Govtcheez
[email protected]
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.
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.
Is this a joke or a typo . If not you may want to check out -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.
http://www.utm.edu/research/primes/p...s/Eratosthenes
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