As well as learning to program with C++ I would like to read up on mathematical concepts used in programming. Can anybody recommend any good books that cover this subject?

Thanks.

This is a discussion on *C++ and Math* within the **C++ Programming** forums, part of the General Programming Boards category; As well as learning to program with C++ I would like to read up on mathematical concepts used in programming. ...

- 07-08-2010 #1

- Join Date
- Feb 2009
- Posts
- 329

## C++ and Math

As well as learning to program with C++ I would like to read up on mathematical concepts used in programming. Can anybody recommend any good books that cover this subject?

Thanks.

- 07-08-2010 #2

- Join Date
- Dec 2009
- Location
- Colorado
- Posts
- 41

Mathematical concepts used in programming is a very vague statement. What kind of programming do you have in mind? The kind of work I do is very math intensive while the programming a graphics person does wouldn't be as math intensive.

If you are programming simulations I would check out*Introduction to Numerical Analysis*by Atkinson and a book on linear algebra. I will say if you don't have a math background this might be a little too advanced.

If you are thinking about graphics stuff any book on analytic geometry would probably be fine. I don't do graphics programming but I can't imagine the math is too intense.

For general programming, I would recommend checking out a book on basic algebra. I would say the most important concept would be to learn modular arithmetic. Your best bet to learn modular arithmetic would probably be through a modern algebra textbook. Depending on your background, a majority of the material in the books will be inaccessible but some of them should have a section or two on modular arithmetic.

- 07-08-2010 #3

- Join Date
- Feb 2009
- Posts
- 329

- Exactly how to get started with C++ (or C) today
- C Tutorial
- C++ Tutorial
- 5 ways you can learn to program faster
- The 5 Most Common Problems New Programmers Face
- How to set up a compiler
- 8 Common programming Mistakes
- What is C++11?
- Creating a game, from start to finish

- How to create a shared library on Linux with GCC - December 30, 2011
- Enum classes and nullptr in C++11 - November 27, 2011
- Learn about The Hash Table - November 20, 2011
- Rvalue References and Move Semantics in C++11 - November 13, 2011
- C and C++ for Java Programmers - November 5, 2011
- A Gentle Introduction to C++ IO Streams - October 10, 2011