Curriculum
16 Sections
87 Lessons
52 Weeks
Expand all sections
Collapse all sections
Introducing C++
1
2.1
Introducing C++
2 Minutes
Moving from C to C++
6
3.1
C and C++ – similar in some ways but actually very different
14 Minutes
3.1
C vs C++: Comments are different – and oh C++ has namespaces!
12 Minutes
3.1
Namespaces? Then we need a scope resolution operator
9 Minutes
3.1
Not just function overloading, C++ allows operator overloading as well!
13 Minutes
3.1
Default Values
15 Minutes
3.1
References, Const and Bool
18 Minutes
Objects and Classes
6
4.1
Classes mean different things to different people!
13 Minutes
4.1
Classes – A logical grouping of data and functions
20 Minutes
4.1
Define a really simple C++ class and instantiate it
14 Minutes
4.1
Invoke the member functions of an object
15 Minutes
4.1
Setup and clean up using constructors and destructors
18 Minutes
4.1
Access Modifiers
20 Minutes
Multi-file Programs
2
5.1
Separating code into .cpp and .h files
16 Minutes
5.1
Setting up dependencies with multiple files
17 Minutes
Dynamic Memory Allocation: new and delete
7
6.1
Dynamic Memory Allocation
18 Minutes
6.1
C++ memory allocation explained
6 Minutes
6.1
Stop using malloc and free
12 Minutes
6.1
Do not mix new/delete for single variables with array equivalents new[]/delete[]
10 Minutes
6.1
Stop using malloc and free, use new and delete instead!
14 Minutes
6.1
Use new[] and delete [] for arrays – never mix new and new[]
10 Minutes
6.1
The Placement new operator and the “this” pointer
17 Minutes
The C++ string Class
6
7.1
The C++ string class
4 Minutes
7.1
Strings
5 Minutes
7.1
Inputing multiline strings
6 Minutes
7.1
More common string operations
15 Minutes
7.1
Comparing strings
6 Minutes
7.1
Converting C++ to C strings (and vice versa)
5 Minutes
References
4
8.1
The basic idea of references
11 Minutes
8.1
A simple reference, a const reference, and C++ swap
10 Minutes
8.1
Reference initialization, reassignment, aliasing, null
15 Minutes
8.1
References to pointers, references as return types
13 Minutes
The const Keyword
5
9.1
The C++ const keyword
14 Minutes
9.1
Const char* or char* const?
17 Minutes
9.1
Const methods, mutable, overloading on const, const_cast
16 Minutes
9.1
Passing function parameters const references
9 Minutes
9.1
Passing function parameters const references
15 Minutes
The static Keyword
4
10.1
The basic idea of static in C++
11 Minutes
10.1
Static member variables
13 Minutes
10.1
Static member functions
9 Minutes
10.1
Const static member variables
7 Minutes
The friend Keyword
3
11.1
The basic idea of friends in C++
10 Minutes
11.1
Friend functions
20 Minutes
11.1
Friend classes
7 Minutes
Operator Overloading
8
12.1
Understanding operator overloading – internal and external operators
16 Minutes
12.1
Choosing between internal and external implementations
9 Minutes
12.1
Overloading the += operator
15 Minutes
12.1
Overloading the + operator
13 Minutes
12.1
Overloading the ++ (and –) operators
15 Minutes
12.1
Overloading the assignment operator
20 Minutes
12.1
Operator Overloading – Streams Flashback
7 Minutes
12.1
Overloading the <> operators
15 Minutes
Inheritance
18
13.1
Understanding inheritance – Flashback to objects and classes
8 Minutes
13.1
Multiple Inheritance, and a Diamond Hierarchy
15 Minutes
13.1
The strange phenomenon of name hiding
4 Minutes
13.1
Why virtual functions should never have default parameters
3 Minutes
13.1
Virtual destructors rock!
4 Minutes
13.1
No virtual function calls in constructors or destructors!
6 Minutes
13.1
Object Slicing
6 Minutes
13.1
Virtual inheritance in a Diamond Hierarchy
6 Minutes
13.1
Example 54: pure virtual functions and abstract classes
10 Minutes
13.1
Example 49 Understanding Inheritance
19 Minutes
13.1
Continued
9 Minutes
13.1
Virtual functions
16 Minutes
13.1
Types of inheritance
18 Minutes
13.1
Bringing all inheritance concepts together in code
16 Minutes
13.1
Access levels and inheritance types
8 Minutes
13.1
Inheritance Explained – II
7 Minutes
13.1
Inheritance Explained – I
8 Minutes
13.1
Never redefine non-virtual base class methods
3 Minutes
Templates
5
14.1
Templates as a form of generic programming
3 Minutes
14.1
A simple template function
10 Minutes
14.1
Overriding a default template instantiation
8 Minutes
14.1
A templated smart pointer class
13 Minutes
14.1
Template Specialization (partial or total)
8 Minutes
STL - The Standard Template Library
5
15.1
Introducing the Standard Template Library
3 Minutes
15.1
The STL vector
12 Minutes
15.1
Iterators
8 Minutes
15.1
Map, an associative container
8 Minutes
15.1
STL algorithms
10 Minutes
C++ Casts
4
16.1
C++ casts are way cooler than C casts
5 Minutes
16.1
Const_cast
3 Minutes
16.1
Dynamic_cast, and RTTI
12 Minutes
16.1
Static_cast, and the explicit keyword
9 Minutes
Exceptions
3
17.1
Exception handling and burglar alarms
7 Minutes
17.1
Throwing exceptions
6 Minutes
17.1
Handling exceptions with try/catch
6 Minutes
Learn By Example: C++ Programming – 75 Solved Problems
Search
This content is protected, please
login
and enroll in the course to view this content!
Login with your site account
Lost your password?
Remember Me
Not a member yet?
Register now
Register a new account
Are you a member?
Login now
Modal title
Main Content