| | |
Mathematical formulas used in C++ ?
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
Hi,
I just wanted to ask if someone could give me a name of a good book in wich the mathematical formulas are written down with some explanation about them
Reason I ask is, I'm going to evening school to learn C++ but in using C++ I encounter very regularly mathematical formulas wich I either don't know, or haven't used for a long, long time (almost 20 years)
That's why it would be easier if I would have a book in wich they are written down and explained in :!:
Thanks for the help guys, if this is asked in the wrong forum , my apologies then :o
I just wanted to ask if someone could give me a name of a good book in wich the mathematical formulas are written down with some explanation about them
Reason I ask is, I'm going to evening school to learn C++ but in using C++ I encounter very regularly mathematical formulas wich I either don't know, or haven't used for a long, long time (almost 20 years)
That's why it would be easier if I would have a book in wich they are written down and explained in :!:
Thanks for the help guys, if this is asked in the wrong forum , my apologies then :o
•
•
•
•
Originally Posted by Narue
Can you be more specific as to what formulae you're talking about? Otherwise I'll just direct you to the mathematics section of your local bookstore.
Well, good question, I was wondering wether there is a book wich has all or most formulas in it wich are used in C++. They would be from the simpliest to the very difficult ones :!:
For instance, one that shows the formula for this kind of calculation:
- Show with wich atleast two consequetive numbers you can get 15?
Solution:
1 2 3 4 5
4 5 6
7 8
Now, I presume to get these numbers, there are mathematical formulas right
Okay then, two good books covering concepts are Algorithms in C++ vol. 1-4 and Algorithms in C++ vol. 5. Both are by Robert Sedgewick. The information is impeccable, but the code quality is questionable. For truly serious coverage, pick up The Art of Computer Programming set, by Donald Knuth. They're hard reads though, and don't use C++, but the algorithms can be trusted without question and the descriptions are amazing. Fortunately, you don't have to know higher math to get a lot out of either of them, but it does help for Knuth's series.
I'm here to prove you wrong.
![]() |
Similar Threads
Other Threads in the C++ Forum
- Previous Thread: Using while statement..any suggestions?
- Next Thread: Problems with displaying total payroll and allowing user to quit by entering a neg.
| Thread Tools | Search this Thread |
api array arrays beginner binary bitmap c++ c/c++ calculator char char* class classes coding compile compiler console conversion convert count data database delete desktop developer directshow dll dynamiccharacterarray email encryption error file forms fstream function functions game generator getline google graph homeworkhelper iamthwee ifstream input int integer java lib linkedlist linux list loop looping loops map math matrix memory multiple news node number numbertoword output parameter pointer problem program programming project proxy python random read recursion recursive reference return rpg sorting string strings struct template templates test text tree unix url vector video visualstudio win32 windows winsock word wordfrequency wxwidgets






