Selected Topics in C++
- Length: 296 pages
- Edition: 1
- Language: English
- Publisher: CreateSpace Independent Publishing Platform
- Publication Date: 2015-10-29
- ISBN-10: 1511797541
- ISBN-13: 9781511797542
- Sales Rank: #5969097 (See Top 100 Books)
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
Free ChaptersTry Audible and Get Two Free Audiobooks »
To access the link, solve the captcha.
Recommended BooksMore Similar Books »
Concurrency with Modern C++: What every professional C++ programmer should know about concurrency.
2024-01-20