
Master the working knowledge of C++, starting with syntax, operators, loops, and functions, then explore data structures, classes, objects, templates, and the standard template library (sdl).
Install code blocks with GCC, write a C++ console program, compile, and run to see hello world, while learning C++ as a compiled, object-oriented language.
Explore the structure of a basic C++ program, from including headers with preprocessor directives and using the standard namespace, to the main function, cout output, newline handling, and commenting styles.
Explore C++ variables, learn how to declare and initialize integers, chars, bools, floats, and doubles. Declare multiple variables, perform addition and subtraction, and print results.
learn to declare and use variables to build a simple calculator in c++, accepting two numbers and performing addition, subtraction, multiplication, and division with optional remainder display.
Learn to build a basic c++ calculator handling addition, subtraction, multiplication, and division, and grasp the sequence of calculations including exponent before other operations.
Explore how to use if else statements in C++ to evaluate conditions, compare ages and heights, and combine tests with or and and, mastering greater than, less than, and equal checks.
Learn how to implement a switch statement in C++, including cases, break, and default handling, with grade-based messages and fall-through behavior.
Learn to use the for loop in C++, understanding initialization, condition, and increment, with examples of incrementing by 1 or by five and including basic printing inside the loop.
Explore increment and assignment operators in C++ with practical examples, including x = x + 5 and x++, to illustrate prefix versus postfix behavior and result printing.
Learn how to use a while loop in C++ to repeat actions while a condition holds, increment variables, print sequences, and sum user-entered values.
Learn the do-while loop in C++, discover how it executes at least once even when the condition is false, contrast it with a while loop, and see a calculator example.
Learn how functions in C++ reduce code size by wrapping repeated blocks, declare and define functions, set return types, and prototype or call them from main.
Explore how to pass parameters to functions in C++ by defining a two-parameter add function, calling it from main, and printing the sum for various data types.
Learn to write a C++ function that returns a value, such as summing two numbers. Explore declaring the function, passing inputs, and using the returned value in the main program.
Learn how default function parameters let you initialize values, override them by passing new ones, and how prototypes affect where defaults are set in code versus declaration.
discover how variable scope works in c++, including local and global variables. use the scope resolution operator to access a global variable from inside a function.
Learn how function overloading lets you declare the same function name with different parameter types to add integers or decimal numbers, and the compiler selects the appropriate version.
Learn how to declare and initialize arrays in c++, using initializer lists to set values like 36, 45, and 64, with zero-based indices. Print and reassign elements using loops.
Learn to compute the sum of an array in C++ by declaring and initializing an array, looping with a for loop, accumulating the total, and printing the result.
Declare and use multidimensional arrays in C++. Learn two-dimensional arrays with rows and columns, zero-based indexing, and printing all elements with nested for loops.
Learn how a pointer stores the memory address of another variable, use that address to access the value, and see that the address stays constant while the value changes.
Explore pass by value and pass by reference in C++, showing how copying a variable leaves the original unchanged, while passing by reference uses its address to modify it.
Learn how to define a book struct in C++ with name, author, and id, access members with dot notation, and efficiently copy strings using string copy.
Learn how to define a book structure in C++ and pass it as a function argument to print its members, including name, author, and id.
Learn how a class groups related data and functions in C++, defines member variables and functions within a book or box class, and accesses them via objects.
Learn how to protect class data by using private members and implement setter and getter functions to access them from main, with practical C++ examples.
Learn how constructors in C++ are special member functions named after the class, created automatically if not declared, and used to initialize object data with possible arguments.
Demonstrate how destructors in C++ release resources when an object goes out of scope, as the counterpart to constructors, with an example class and notes on default constructors and destructors.
Place classes in separate header and source files to keep code readable. Declare prototypes in header, implement in the source file, and include the header in main to use objects.
Master the arrow member selection operator to access class members through pointers, using -> instead of dot notation to call get and set functions on a book class.
Learn how to overload operators in C++ for user defined classes, enabling tasks like adding two vectors with a custom + operator and using other operators.
Learn how C++ inheritance lets a derived class reuse a base class’s height and width, while protected and public access enable safe, reusable shape implementations.
Learn how to implement multiple inheritance in C++ by deriving a rectangle from base classes like shape and description, accessing base methods and members in the derived class.
Learn how to use friend classes in c++ to access private members from another class. Explore declaring a friend, enabling controlled access to a private member like secret.
Explore polymorphism in C++ by using a shape base class with height and width to compute areas for rectangle and triangle, via inheritance and base class pointers.
Learn how virtual member functions enable polymorphic behavior in C++ by redefining area in derived shapes, and how pure virtual functions create abstract base classes for rectangle and triangle.
Learn what C++ exceptions are and how to use try, throw, and catch to handle input and runtime errors. Explore standard and user defined exceptions for robust error handling.
Learn how function templates enable generic operations in C++, using a generic add function to handle int and double values, while understanding template syntax and type constraints.
Learn to use C++ function templates with multiple parameters to compute the maximum of two values of potentially different data types by passing them as separate arguments.
Declare a template class using the template keyword and angle brackets, define a two-argument constructor, implement a max function, and instantiate the class with types like int and double.
Explore template specialization in C++ by redefining a template class for a specific datatype, such as character. Learn how angle brackets define specialized instances and affect compilation.
Learn how to create and write to a text file in C++ using ofstream, ifstream, and fstream; open, write with the insertion operator, check is_open, and safely close the file.
Learn how to read text from a file in C++ by opening a file with ifstream, reading line by line with getline, printing lines, and handling simple data with operator>>.
C++ is general purpose, compiled, object-oriented programming language and its concepts served as the basis for several other languages such as Java, Python, Ruby, Perl etc.
C++ is not just a powerful programming language. It's also the basis of many other popular languages, so this knowledge will serve you well, even when you're not using C++.
1) This is by far the most comprehensive C++ Programming course you'll find here, or anywhere else.
2) This C++ Programming tutorial Series starts from the very basics and covers advanced concepts as we progress. This course breaks even the most complex applications down into simplistic steps.
3) It is aimed at complete beginners, and assumes that you have no programming experience whatsoever.
4) This C++ Programming tutorial Series uses Visual training method, offering users increased retention and accelerated learning.
The goal of this course is to provide you with a working knowledge of C++. We'll start with the basics, including syntax, operators, loops, and functions. This Course will explain you how to use data structures and create your own Functions. This Course will show you the details of the powerful object and template systems so you can create useful classes and objects. Finally, we will cover the unique and powerful Standard Template Library, which provides you with some of the most flexible container classes available anywhere.
Bonus - C++ Example Codes and Exercise