Selected Topics in C++ Front Cover

Selected Topics in C++

Description

C++ is a language that sets itself a bit apart from the rest. C++ has no garbage collection. You need to collect your own garbage. C++ has stack memory and heap memory. You need to control where you want to put your objects. It has constructors and destructors. You need to know when and how they are called. Then it has multiple inheritance, something that’s not part of most languages. It has pointers and references. You need to know how and when you should use them. Then you have virtual functions and virtual tables and virtual pointers. When you know these core concepts C++ becomes a powerful language to use because you can control your program to do exactly what you want. Then you can unleash the power of C++.

Table of Contents

  • The size of an object
  • The Virtual Mechanism
  • Structs, Classes and their Inheritance
  • Object Construction
  • Pointers
  • Non-Constructible, Non-Copyable Class
  • Understanding new
  • Understanding Constructors
  • Forward Declarations, Compiling and Linking
  • Copy Constructor and Object Cloning
  • Class Member Access
  • Class member offsets
  • Function Pointers
  • Function Shadowing
  • Understanding the Destructor
  • Operator Overloading
  • Multiple Inheritance
  • Casting
  • Conversions and Promotions
  • Name Lookup
To access the link, solve the captcha.
Subscribe