Reference Book on C++ Programming for FE

highly recommend the C programming language book in FAQ link. Coincides nicely with the first two levels. After that, the Primer plus is good, although a little long winded. C++ Primer by Lippman is good, and C++ tour by Bjarne is also a nice short book. Duffy's book is also really good for the later levels.
 
John Armstrong's "C++ for Financial Mathematics" isn't bad.
I looked at TOC. Seems to be well-structured, pedagogically. It is probably pre-C++11 so it won't age well.
Does author provide source code?
Hefty price.

I wold say the next generation C++ apps should be C++20.
 
And this book by Luigi Ballabio on Quantlib library has lots of finance.
Someone who has done QN C++ will have no difficulty using this library.


 
Last edited:
I don't have the book. From the TOC I don't see much C++11 buzzwords. Just sayin'.
BTW my basic C++ doesn't cover C++11, I have a different focus, having come from an industrial background where we focus on well-designed and maintainable applications. Each to his own, I suppose.
The QN/Baruch C++ goes to C++20 and that's the standard going forward. The student project will use these features., esp. CONCEPTS.

// Again, does the author provide runnable code?(?)
// I see some C++11 easy features (auto, lambda); new and delete are used, but smart pointers are more up-market
// "using" >> "typeedef" (latter not work on templates ... yuge problem for real code).
 
Last edited:
One more thing .. my books are reasonably priced and all the time and effort is from my own pocket .. I don't have crowdfunders not subsidies in that sense. I think academics should also give something back to the students. That's my opinion,.
 
// Again, does the author provide runnable code?(?)
// I see some C++11 easy features (auto, lambda); new and delete are used, but smart pointers are more up-market
// "using" >> "typeedef" (latter not work on templates ... yuge problem for real code).

The code library is at the publisher's website. Smart pointers are covered on pp194-197 (briefly because this is an introductory book for people who don't kmow any C++). Typedef is covered in the STL chapter (pp 303-306).

With regard to price it seems to be comparable to your own C++ book, which I bought a couple of years back. I think the publisher (CRC) controls the price rather than the author. The prices seem to be similar to those of Springer. And CRC does publish some very high-quality books.

There may be better introductory C++ books for quants -- but I have not seen them.
 
Most of the C++ writers have given up the chase or have sadly passed.
A remark: learn C syntax before C++, if not it is NOT optimal not at all. typedef is very limited.

The code on the site looks neatly laid out. A bit in the Quantlib style.

I have Datasim Press with Boost C++ books. In this sense I determine the price myself. So, reasonable price.

In general, learning C++ on your own is very difficult. It's like learning judo by video. The best way is to get trained by the sensei himself. He tells you in real time what you are doing wrong.

 
Last edited:
I used Bruce Eckel's book way back. It might be an idea to check his more recent(?) books.
 
Back
Top Bottom