3 ms·
I researched this same question back in 2011. One of the most recommended books is "Memory as a Programming Concept in C and C++": http://www.amazon.com/Memory
by wainstead 12y ago
I researched this same question back in 2011. One of the most recommended books is "Memory as a Programming Concept in C and C++":
http://www.amazon.com/Memory-Programming-Concept-Frantisek-Franek/dp/0521520436 http://www.amazon.com/Memory-Programming-Concept-Frantisek-F...
A rather expensive book but stellar reviews. I borrowed it from the library. It's very concise too.
For C++ a lot of people still recommend "Accelerated C++":
http://www.amazon.com/Accelerated-C-Practical-Programming-Example/dp/020170353X/ref=sr_1_1 http://www.amazon.com/Accelerated-C-Practical-Programming-Ex...
because it teaches you "canonical" C++ instead teaching you "C with classes," which seems to be a common complaint among veteran C++ programmers. It's very readable too.
I'm going to pick up "Writing Great Code":
http://www.amazon.com/Write-Great-Code-Understanding-Machine-ebook/dp/B0096FEJGQ/ref=sr_1_1 http://www.amazon.com/Write-Great-Code-Understanding-Machine...
because it explains computer architecture. Once you start programming in C/C++ you are much closer to the metal and having an understanding of the architecture will lead to better choices.