
Explore the basics to advanced concepts of C++ programming, including what programming is, and the evolution from procedural and functional to object oriented approaches via top-down methods.
Explore the basic components of C++, including objects, classes, data abstraction and encapsulation, inheritance, and polymorphism, plus dynamic binding and message passing, with examples like bicycles and birds.
Set up your C++ development environment using Visual Studio Code, install the C/C++ extension, and write a first hello world program to learn basic syntax, headers, and comments.
Shows how the main function starts a C++ program, how compilation produces an executable, and how cout prints hello world to the monitor.
Explore data types and control statements in c++ by examining tokens such as keywords, variables, constants, and operators, including break, special characters, and newline and tab.
Explore C++ data types, including integer, decimal numbers, double, strings, and true/false values, and learn how to declare and initialize variables using hash define with the preprocessor for constants.
Demonstrates a C++ demo to compute a circle's area by inputting radius, using int radius, float area, and a 3.14 pi constant, with area = pi * radius * radius.
Explore control statements in c++, featuring if and switch statements that steer program flow with true and false branches, including nested and else-if conditions.
Learn how if statements and nested conditions control program flow in C++, with else branches and switch as an alternative, demonstrated by a month-name mapping and input validation.
Explore how switch statements streamline condition checks in C++ compared to if-else, using a month-name example with a default case for invalid input.
Explore iteration statements in C++, including for loops, while loops, and do-while loops. See how initialization, condition checks, and increments drive repeated execution until the condition becomes false.
Explain the while loop, which executes a block while the condition is true, using 0 to 4 and 10 to 19, and warn against infinite loops, contrasting with do-while.
Learn how arrays in C++ store multiple values of the same type in consecutive memory, access them by zero-based indices, and initialize or populate them with literals or input.
Master multi-dimensional arrays in C++ by declaring and accessing two- and three-dimensional arrays with row and column indices, zero-based indexing, and for loops; explore string concepts with arrays and string objects.
Learn practical C++ string functions, including copying, concatenation, length, and comparison, using C-style strings and common string operations.
Learn modular programming in C++ by splitting large programs into independent functions, using prototypes, and understanding how function definitions, return types, and arguments enable code reuse.
Declare and define a function to add two integers, specify the return type, explain scope and local variables, use a function prototype, and call it from main.
Discover how c++ passes values to functions by comparing actual and formal arguments, and by value versus by reference, including memory locations and global versus local variables.
Compare passing values to functions by value and by reference, noting copies inside the function do not affect the caller, and use structs to store name, age, salary.
Explore classes in C++, a user defined data type that defines objects with attributes and methods and functions, illustrated by car and dog examples.
Learn how to define a C++ class, create objects, and access data members like brand, model, and year using the dot operator and public, private, and protected access.
Explore how the this pointer yields the current object's address to access its members, differentiate between local and member variables, and enable private data access via friend functions and classes.
Explore static variables and static functions in C++, showing how static members belong to a class, are shared across all objects, and are accessed with the scope resolution operator.
Learn how constructors auto-initialize objects and how destructors clean up on deletion in C++. Understand parameterized and default constructors, plus scope resolution for outside-class function definitions, with a car example.
Learn function overloading in C++ by using the same function name with different arguments, and explore operator overloading for binary and unary operators, illustrated with complex numbers.
Explore operator overloading in C++, using complex numbers to demonstrate plus, minus, and negation, while noting operator precedence and which operators cannot be overloaded, including the ternary operator.
Learn how C++ inheritance lets a subclass derive properties and methods from a superclass, enabling code reuse and shared functions like capacity, apply brakes, and other vehicle features.
Learn how public, protected, and private inheritance control access to base class members in derived classes, showing how public members stay public while private members remain inaccessible.
Explore five types of inheritance in C++, including single inheritance where a derived class inherits from one base class, as well as multiple, multi-level, hierarchical, and hybrid inheritance.
Explore multiple inheritance in c++, where a subclass inherits from several base classes and accesses their constructors. The lecture also explains multilevel inheritance and constructor invocation across the hierarchy.
Master hierarchical inheritance in C++ programming, with practical guidance suited for learners from beginner to expert.
Learn how pointers work in C++ by understanding memory addresses, the ampersand operator for taking addresses, and how to declare and dereference pointers to access values.
Explore pointers in C++ by demonstrating memory addresses, address-of and dereferencing to access variable values, printing pointer addresses and values, and contrasting dot and arrow operators for objects.
Explore object creation and pointer binding in C++ by demonstrating how to access and print object members using dot and arrow operators, and compare direct versus binder-based data access.
Explore polymorphism and runtime polymorphism in C++, using virtual functions to override base class methods in derived classes, and learn how base pointers bind to derived objects for dynamic dispatch.
Explore runtime polymorphism in C++ by using virtual and pure virtual functions to override the area function in derived shapes and understand base and abstract classes.
Learn how to work with files in C++, including text and binary files, and how to open, read, write, and close them with stream classes.
Master reading and writing files in C++ using stream extraction and insertion operators, detect errors with eof, fail, and bad flags, and move file position to the beginning or end.
Learn to create, write, and read files in C++ using file streams, open and close files, use getline and the stream insertion operator, and display data to the screen.
Master command line arguments in C++ by using argc and argv in the main function; pass any number of arguments from the terminal, with the program name counted.
This course covers C++ from very basic to more advanced features.
Concepts of C++ programming are made very simple and easy.
Every topic is covered in greater detail.
Every Topic is Explained with Real-life Examples.
C++ is one of the most popular languages in the world! It's used by over 4 million developers worldwide, and in the US the average salary of a C++ developer is over $100,000 a year!
The course is designed for those who don't have any prior knowledge about programming. It doesn't matter if you have never written any programs or you have no idea about programming... After this course, all of this will change. You will bust the myth that programming is a difficult thing only for the few!
After this course, you will be able to use the advanced components of the C++ language.
Why this course?
Practical, hands-on, and aimed at beginners who are keen on mastering C++, this course is designed to get students coding in C++ as quickly as possible, while also teaching the best tips, tricks, and theory behind the code.
Every section has challenges and exercises for students to confirm their knowledge and put their newly learned skills to the test.
What I will learn?
Basics - Datatypes and Variables
Operators and Expressions
Conditional Statements
Loops
Pointers
Functions
Function Overloading
Oops Concepts
Classes and Objects
Constructors
Destructors
Operator Overloading
Inheritance
Polymorphism
Abstract Classes
Function Overriding
Friend Members
Static Members
Inner Classes
Templates
Exception Handling
I/O Streams
STL
Lambda Expressions
Features on Modern C++ 11
Student Project