|
The C++ Tutorial (Test Site)
Welcome to the LearnCpp.com test site! It’s Sunday 17th of January 2021 12:07:31 AM UTC.
You probably shouldn’t be here — this is where we test updates before pushing them to the main site. Please check out http://www.learncpp.com.
LearnCpp.com is a free website devoted to teaching you how to program in C++. Whether you’ve had any prior programming experience or not, the tutorials on this site will walk you through all the steps to write, compile, and debug your C++ programs, all with plenty of examples.
Becoming an expert won’t happen overnight, but with a little patience, you’ll get there. And LearnCpp.com will show you the way.
Chapter 9 |
|
Operator overloading |
9.1 |
|
Introduction to operator overloading |
9.2 |
|
Overloading the arithmetic operators |
9.3 |
|
Overloading the I/O operators |
9.4 |
|
Overloading the comparison operators |
9.5 |
|
Overloading unary operators +, -, and ! |
9.6 |
|
Overloading operators using member functions |
9.7 |
|
Overloading the increment and decrement operators |
9.8 |
|
Overloading the subscript operator |
9.9 |
|
Overloading the parenthesis operator |
9.10 |
|
Overloading typecasts |
9.11 |
|
The copy constructor and overloading the assignment operator |
9.12 |
|
Shallow vs. deep copying |
|
Chapter 10 |
|
Composition |
10.1 |
|
Constructor initialization lists |
10.2 |
|
Composition |
10.3 |
|
Aggregation |
10.4 |
|
Container classes |
|
Chapter 11 |
|
Inheritance |
11.1 |
|
Introduction to inheritance |
11.2 |
|
Basic inheritance in C++ |
11.3 |
|
Order of construction of derived classes |
11.4 |
|
Constructors and initialization of derived classes |
11.5 |
|
Inheritance and access specifiers |
11.6 |
|
Adding, changing, and hiding members in a derived class |
11.7 |
|
Multiple inheritance |
11.8 |
|
Virtual base classes |
|
Chapter 12 |
|
Virtual Functions |
12.1 |
|
Pointers and references to the base class of derived objects |
12.2 |
|
Virtual functions and polymorphism |
12.3 |
|
Virtual destructors, virtual assignment, and overriding virtualization |
12.4 |
|
Early binding and late binding |
12.5 |
|
The virtual table |
12.6 |
|
Pure virtual functions, abstract base classes, and interface classes |
|
Chapter 13 |
|
Input and output (I/O) |
13.1 |
|
Input and output (I/O) streams |
13.2 |
|
Input with istream |
13.3 |
|
Output with ostream and ios |
13.4 |
|
Stream classes for strings |
13.5 |
|
Stream states and input validation |
13.6 |
|
Basic file I/O |
13.7 |
|
Random file I/O |
|
Chapter 14 |
|
Templates |
14.1 |
|
Function templates |
14.2 |
|
Function template instances |
14.3 |
|
Template classes |
14.4 |
|
Expression parameters and template specialization |
14.5 |
|
Class template specialization |
14.6 |
|
Partial template specialization |
|
Chapter 15 |
|
Exceptions |
15.1 |
|
The need for exceptions |
15.2 |
|
Basic exception handling |
15.3 |
|
Exceptions, functions, and stack unwinding |
15.4 |
|
Uncaught exceptions, catch-all handlers, and exception specifiers |
15.5 |
|
Exceptions, classes, and inheritance |
15.6 |
|
Exception dangers and downsides |
14.9 |
New
|
Exception specifiers and noexcept |
15.4a |
New
|
std::move_if_noexcept |
|
Chapter 16 |
|
The Standard Template Library |
16.1 |
|
The Standard Template Library (STL) |
16.2 |
|
STL containers overview |
16.3 |
|
STL iterators overview |
16.4 |
|
STL algorithms overview |
|
Chapter 17 |
|
std::string |
17.1 |
|
std::string and std::wstring |
17.2 |
|
std::string construction and destruction |
17.3 |
|
std::string length and capacity |
17.4 |
|
std::string character access and conversion to C-style arrays |
17.5 |
|
std::string assignment and swapping |
17.6 |
|
std::string appending |
17.7 |
|
std::string inserting |
|
Appendix A |
|
Miscellaneous Subjects |
A.1 |
|
Static and dynamic libraries |
A.2 |
|
Using libraries with Visual Studio Express 2005 |
A.3 |
|
Using libraries with Code::Blocks |
|
Appendix B |
|
C++11 (Formerly C++0x) |
B.1 |
|
Introduction to C++11 |
B.2 |
|
Long long, auto, decltype, nullptr, and enum classes |
B.3 |
|
Range-based for statements and static_assert |
B.4 |
|
Initializer lists and uniform initialization |
B.5 |
|
Delegating constructors |
B.6 |
|
New virtual function controls (override, final, default, and delete) |
|
|