The files contain code that explain various features of the C++ language. This may be used as a reference for designing code patterns.
The contents are as follows:
- Basic structure of a program
- How to define a function
- How to define classes and create objects
- How to use a constructor and destructor
- Different ways of accessing data using dereferencing operators on pointers or objects
- Representing complex numbers in polar and rectangular coordinates
- Inheritance, virtual base class, constructing objects of derived classes
- This pointer, referencing members of an object using this
- Pointers to derived classes, invoking functions of a class by casting pointer to corresponding class
- Virtual functions
- Input/Output
- IO Manipulation
- Interacting with files
- Templates - Creating generic classes
- Exception handling
- Common operations using Vectors, Lists, and Maps.
- String manipulation
- List of chars and corresponding int values
- Singleton pattern