Description
In this course, you will learn :
- You will begin by learning about dynamic memory allocation, class creation, and constructors.
- About inheritance, functions, I/O, exception handling, and other topics.
- Over 90 carefully designed examples will be studied in order to improve your understanding of the C++ language.
- Able to incorporate more advanced functionality into your C++ programmes.
Syllabus :
1. Getting Off the Ground
- Why This Course?
- Getting started with C++
- Digging Deep into C++
2. Starters
- US Currency Teller
- Curious Numbers
- Fibonacci Sequence
- Count Sundays
- Trailing Zeros
- Cardano Triplet
- Arithmetic and Geometric Progression
3. Basic C++ Examples
- Primitive Data Types
- Process the Array
- Dynamic Arrays
- Swap Numbers
- Absolute Value
- Function with Default Parameters
- Variable Number of Arguments
4. Class Organization Examples
- Number Class with Methods defined Inside it
- Number Class with Methods defined Outside it
- Number Class Definition with Separate Files
- Theory: Class Libraries
- Number Class in a Statically Linked Library
- Number Class in a Dynamically Linked Library
5. Class Constructor Examples
- Default Constructors
- Illustrate Construction of Object
- Illustrate Construction vs. SetData()
- Multiple Constructors
- Demonstrate Optional Constructors
- Constructor with Default Values
- Role of this Pointer
- Copy Constructor
- Significance of Copy Constructor
6. Classes and Objects Examples
- Complex Numbers Class
- Matrix Class
- Solid Class
- Shape Class
- Time Class
7. More Classes and Objects Examples
- Static Array Class
- Dynamic Array Class
- Rectangle Class
- Matrix Class (Singular or Orthogonal)
- Polynomial Class
- Polynomial Class Extension
8. Function Examples
- Sample Class with Three Functions
- Track Number of Objects
- Singleton Class
- Display Function for Multiple Objects
- Inline Functions
9. Function Overloading Examples
- Find Absolute Values
- Sort Arrays
- Random Function
- Min and Max Functions
- Byte Class
10. Operator Overloading Examples
- Index Class with Pre and Post Increment Operators
- Distance Class with > and < Operators
- Complex Class with a + Operator
- Complex Class Query
- Complex Class with a Friend Function
- Complex Class with >> and << Operators
11. Free Store Examples
- 2D Dynamic Array with Fixed Column Sizes
- Jagged 2D Dynamic Array with Variable Column Sizes
- Sample Class to Avoid Memory Leaks
- Functions for Dynamic Memory Management
12. Inheritance Examples
- Theory: Goal of Inheritance
- Inheritance between Index and Index1 Class
- Sequence for Calling Constructors
- Object Sizes in Multi level Inheritance
- MultipIe Inheritance Using Rectangle Class
13. Virtual Function Examples
- Pure virtual Draw( ) Function
- Theory: Polymorphism in C++
- Binding of Virtual Functions
14. Input Output Examples
- ios Formatting Flags
- Usage of Standard Manipulator
- User-defined Manipulators
- File IO of Numeric and String Data
- File IO of String Data
- File IO of Employee Records
15. Template Examples
- Templated Array Class
- Templated mySwap( ) Function
- Templated Queue Class
- Templated Stack Implementation
16. Exception Handling Examples
- Standard Exceptions Demo
- User-defined Exception Class
- Termination Handler
- Catch Block Example
17. STL Examples
- STL Based Vector Collection
- STL Based Linked List Collection
- STL Based Telephone Book
- Usage of Bitset STL Container
18. Miscellaneous Examples
- SmartPointer that Iterates through a Container
- Overloaded -> Operator in a SmartPointer Class
- Pointer to Member Operators
- Conversions using a Static_cast Syntax