tags:

views:

96

answers:

6

Hi, what are the best c++ books for learning the very advanced concepts? I know about OO programming, i dont need to know about classes but i'd like to know about how casting works, how the various memory data structures differ in their actual implementation (big O notation etc), deep and shallow copying, garbage collection etc?

Any very good books people could recommend? If not to C++ then perhaps Java and C# as they're similar?

A: 

See The Definitive C++ Book Guide and List. My personal recommendation would be Inside the C++ Object Model, by Stan Lippman, which is a bit dated being based on cfront , but still is a very good reflection of C++ implementations.

Nikolai N Fetissov
+1  A: 

In my opinion these books will immediately start making a positive difference. You can apply much of it right-away.

Effective C++ by Scott Meyers

More Effective C++ by Scott Meyers

Link: Scott Meyers Books

JustBoo
A: 
Patrick
+1  A: 

Guru of the week If you can internalize the whole set of questions, it would help a looooot. Some more from Herb Sutter, would help if you get the books mentioned

DumbCoder
A: 

Come at it from the other end. Your question implies that what you really want to know is how data structures differ in their implementation and how a compiler handles memory and structures internally, rather than the specific details of C++. So, what you're really after is some of the computer science theory behind programming. To that end, try:

  • For algorithms and data structures, Mark Allen Weiss' Data Structures And Algorithm Analysis (in C++ or Java, your preference, it doesn't really matter to the math)
  • For garbage collection, try Richard Jones & Rafael Lins, Garbage Collection, Wiley and Sons (1996), ISBN 0471941484 or Paul Wilson's classic survey paper.
Crashworks
+1  A: 

You should check out:
- Andrei Alexandrescu: "Modern C++ Design" (templates)
- Andrei Alexandrescu and Herb Sutter: "C++ Coding Standards" (good practice)
- C++ FAQ LITE

Scott Meyers is very good but may be too basic for you.

You might also want to check the other works of Herb Sutter.

Gabriel Schreiber
+1 for Andrei Alexandrescu and Herb Sutter: "C++ Coding Standards" (good practice)
Stephane Rolland
@Gabriel Schreiber - If basics aren't proper reading advance material is futile.
DumbCoder