
This course includes our updated coding exercises so you can practice your skills as you learn.
See a demo
The instructor guides beginners from basics to advanced C++, emphasizing hands-on practice in your own IDE with demos, PDFs, exercises, and quizzes.
Cover fundamentals of computing, including how computers work, number systems (binary and octal), what a program is and why we write it, and roles of compilers, interpreters, and operating systems.
Explore the computer's core architecture, from CPU, ALU, CU to memory and storage, and see how binary signals drive program execution from disk to memory.
Explore how number systems underpin computing, from decimal to binary. Learn simple decimal-to-binary and binary-to-decimal conversions, and get a brief overview of octal and hexadecimal foundations.
Explains what a program is, why we write programs, and how computers execute data with binary, cpu instructions, and the role of programming languages, compilers, and interpreters.
Contrast binary machine language and assembly with high-level languages such as C, C++, Java, Python, and Visual Basic, and note their compiler, interpreter, or hybrid nature.
Compare compiler based languages, which produce a separate machine code and executable, with interpreter based languages that execute code line by line inside a browser, including hybrid approaches.
Discover how operating systems act as master programs that manage CPU, memory, and input/output devices. They load from storage, coordinate program requests, and provide services via system calls.
Examine monolithic, modular (procedural), and object-oriented programming, including aspect-oriented approaches, and see how data, functions, and classes shape C++ design.
Learn how to turn a step-by-step algorithm into a working program using pseudocode and C++ syntax, while understanding differences between algorithms and programs and debugging basics.
Explore how flow charts visualize the flow of control in programs, highlighting input, processing, and output, with examples of addition, finding the greater number, and printing 1 to 10.
Learn the steps for development and execution of a C++ program—editing, compiling, linking libraries, and loading for execution—inside an integrated development environment (IDE).
Explore writing and running C++ programs using an online compiler like online gdb, practice with hello world and simple adding two numbers examples, and learn IDE options for future lessons.
Learn to set up code blocks ide with mingw, create a c++ console project, write your first program, and build and run it to see hello world.
Download Dev-C++ and install it with MinGW, configure the compiler options for -g debugging and -std=c++11, then create a new console project and run a Hello world program.
Download and install Visual Studio community edition for C++ desktop development and console apps, then create a new C++ console project, write and run a sample Hello World program.
Learn to use a debugger in code blocks to trace a C++ program line by line, set breakpoints, and watch the sum and other variables during execution.
Master debugging in dev-c++ by setting breakpoints, watching variables, and stepping through code to trace execution, with a practical example that sums elements to 25 and observe updates.
Debug in Visual Studio by setting breakpoints, stepping through code with F5 and F10, and using the watch and console windows to verify a sum-of-array program.
Install Xcode on macOS via the App Store or xcode-select --install, then create a C++ project and write a hello world. Run it to view output in the output window.
Set up your C++ environment and learn the skeleton of a program, including the main function, return type int, and return zero, then print hello world with cout.
Learn how to write a basic C++ program by taking input, processing data, and producing output, with flow charts, pseudocode, and hands-on examples like adding numbers and reading names.
Demonstrates writing and running a first C++ program using Xcode, printing hello world, and building interactive programs that add numbers and greet users with getline for full names.
Explore how data types organize numeric and alphabetic data in c++—integers, floating point numbers, characters, and strings—and how memory stores them in binary form as bytes and bits.
Explore primitive and user defined data types in C++, including integral, boolean, and floating point types, with sizes, ranges, and modifiers like unsigned and long.
Learn how variables store data in C++ by declaring and initializing integers, characters, and floats, explore memory, garbage values, and use readable names with underscores.
Learn how to use C++ operators and form expressions, including arithmetic, relational, logical, and bitwise operators; understand integer vs float division, quotient and remainder, and type casting.
Explore how to write mathematical formulas as C++ expressions by applying operator precedence, associativity, and brackets, then convert formulas like area, perimeter, and quadratic roots into code.
Write a C++ program to compute the area of a triangle from base and height using the formula base into height divided by two, including input, processing, and output steps.
Learn to compute the sum of the first n natural numbers using the formula n(n+1)/2 in a C++ program, including input, processing, and output with variables n and sum.
Learn to write a C++ program that reads coefficients a, b, c of a quadratic equation, computes the roots using the quadratic formula, and prints r1 and r2.
Write C++ programs to compute the area of a circle and quadratic roots using radius input, floats, and sqrt from math.h with cin and cout.
Explore compound assignment operators that update sums and products in place, using sum plus assign a and product multiply assign a, b, c to improve readability for arithmetic tasks.
Explore compound assignments in C++, updating sum and x with operators like += and *=, including increments and decrements, with outputs such as 15, 50, and 11.
Explore increment and decrement operators in C++, including pre and post forms, and learn how they affect variables in expressions, counting, and loops.
Learn how increment and decrement operators work in C++, exploring pre-increment and post-increment with i and j, and noting potential compiler differences in single expressions.
Explore overflow in C++ by showing how an 8-bit character wraps from 127 to -128, driven by two's complement and the sign bit, a useful interview concept.
Examine how overflow wraps a char beyond 127, turning 128 into -128 and 130 into -125 with an implicit conversion warning, and how int overflows from 2147483647 to the minimum.
Explore bitwise operators such as and, or, xor, not, and left and right shifts, with binary examples like 11 and 5, and understand two's complement representation of negatives.
Explore C++ bitwise operators, including and, or, xor, and not, with integer and character examples using shifts and type casting to reveal results.
Explore how enum defines a user defined data type and codes days and departments. See how typedef renames basic types to meaningful names like marks and roll number.
Use enum to define related constants, such as days or departments, with values starting from zero, and typedef to create readable aliases like marks for integers.
Practice student exercise #1 guides you to write a circle area calculator in C++ by taking a radius input, computing the area, and displaying the result.
Develop a C++ program to compute net salary from basic salary, allowances percentage, and deductions percentage using net salary = basic + allowances% of basic - deductions% of basic.
Explore how conditional statements drive program flow in C++ with if and else, true/false evaluations, and relational operators like <, <=, >, >=, ==, and !=.
Write a C++ program to find the maximum of two numbers using an if else condition, taking two inputs and outputting the greater value.
Explore conditional statements in C++ using if-else logic, true and false, and validation examples like checking a roll number for validity, with warnings about code that will never be executed.
Read two numbers, validate the denominator is nonzero, perform the division, and display the result or a division by zero error in a C++ program.
Learn how to use logical operators in C++ to build compound conditional statements with and (&&), or (||), and not, including truth tables and real-world examples.
Explore compound conditional statements in C++, using logical operators to check ranges, with an hour-range example that uses hour >= 9 && hour <= 18 to print working or leisure.
Practice compound conditions in c++ by using and and or to classify ages as child, young, or old, with input age and conditional checks.
Learn to implement compound conditions in C++ by checking if a person is young (age 12–50) using logical operators, and extend to offer eligibility for children or older people.
Explore nested conditional statements in c++ and implement a program to find the greatest of three numbers using nested if and else blocks.
Write a C++ program to find the greatest of three numbers using chained if statements, and learn debugging with breakpoints and stepping through code.
Analyze nature of quadratic roots using the discriminant in a C++ program, applying the formula and nested if statements to identify real and equal, real and unequal, or imaginary roots.
Demonstrates nested if logic to display a student's grade from three marks. Calculates total and average, then assigns A for average ≥60, B for 35–60, and C for below 35.
Explore the else if ladder as an alternative to nested ifs, improving readability while mapping a day number to a day name and discussing comparisons.
Write a C++ program that takes a day number and displays the corresponding day name using an else-if ladder, then compare with switch case for a cleaner, faster solution.
explains short circuit evaluation of and and or in C++, showing how a true or false result stops evaluation and advising against ++i in the second condition.
Explore short-circuit evaluation in C++ using A and B to show how and/or conditions control i increments and conditional execution, and why operands may not be evaluated.
Discover how dynamic declaration in C++ allocates stack memory only within blocks, letting activation code grow and shrink and memory be reused for efficient code.
Understand dynamic declaration in c++, declare variables where needed, and explore block scope. Learn two methods to limit visibility: empty blocks and c++17 if declarations.
Learn the switch case construct in C++, using integer or character labels, understand break and default behavior, and design menu-driven programs with nested switches, illustrated by a day-name example.
Explore switch case in c++ by mapping values to cases, using break to prevent fall-through, and handling a default option.
Write a switch case program that reads a day number and prints the day name. Use cases for 1 through 7 and a default for invalid input.
Demonstrates a menu-driven program using switch cases to perform arithmetic operations. Reads a choice and two numbers, computes add, subtract, multiply, or divide, then displays the result.
Develop a program to compute a discounted bill from the input total: >500 yields 20% off, 400 yields 10% off, 50 yields zero, then display the discounted price.
Create a C++ program to determine whether a given year is a leap year: divisible by 4, century years divisible by 400; input the year and print the result.
Master loops in C++ programming, including while and do while, with for and for each loops, through flowcharts, examples, and coding exercises that build counting and repetition skills.
Master the for loop as a counter‑controlled repetition tool using initialization, condition, and updation to repeat a block from 1 to n in C++.
Explore and compare while, do-while, and for loops in C++, showing how to control a counter with i, prevent infinite loops, and use debugging techniques to observe loop execution.
Explore the infinite loop concept in C++ programming as part of a comprehensive beginner to advanced deep dive.
Write a program that prints the multiplication table for a given number using a for loop and a counter from 1 to 10, displaying i times n per line.
Learn to compute the sum of the first n natural numbers by looping and accumulating into sum, with a designed procedure, a flow chart, and for or while loop implementations.
Compute the factorial of a number using a for loop, multiplying 1 through n. Learn the procedure, variables (n, i, fact), and how to print the result.
discover how to find factors of a number with a C++ for loop and mod operator, printing divisors when the remainder is zero.
Learn how to compute the sum of a number's factors and determine if a number is perfect by checking if the sum equals twice the number, using a C++ program.
Learn how to determine prime numbers by counting factors with a loop, printing primes like 13 or 7, and checking if the count equals two in C++.
Learn to use a for loop to display a multiplication table, compute the sum of first n natural numbers, find factors, and test primes in C++ with practical demonstrations.
Extract and display digits of a number in reverse by using modulo 10 and integer division inside a while loop, as a practical practice problem.
Explore a C++ program that checks Armstrong numbers by extracting digits, summing their cubes, and comparing to the original number, using loops and a flow chart approach.
Reverse a number by extracting digits and building the new value, using the digit sequence to form the reverse. Explore palindromes and display digits as words.
Learn to extract and print digits with a while loop, using modulo 10 and division by 10, while computing the sum of digits and preparing digits-in-words exercise.
Write a C++ program to compute the gcd of two numbers by repeatedly subtracting the smaller from the larger until the numbers are equal, then display the gcd.
Write a C++ program to find and output the gcd of two numbers using a subtraction loop until m and n are equal, and preserve originals by using separate variables.
practice student exercise #5 guides you to write a C++ program that reverses digits with a loop and checks whether the input number is a palindrome.
Introduce arrays in c++, declare and initialize int arrays, access elements with zero-based indices A[i], and print all values with a for loop, noting memory layout and types.
Learn how to declare and initialize arrays in C++, explore size and zero or garbage initialization, index basics, and use range-based for loops with auto and ASCII examples.
Demonstrates the for each loop over an array, showing how each value is copied into X (or accessed by reference with auto), and contrasts with a traditional for loop.
Learn how to sum all elements of an array in C++ by initializing sum to zero, iterating with a for loop over A[i], and printing the result.
Learn to find the maximum element in an array by initializing max with the first element, then iterating over A[i] with a for loop and updating max.
Learn linear search in C++ by scanning an array to locate a key and report its index, with found or not found outcomes.
Apply binary search on sorted data by evaluating the middle index and halving the search range. Update low and high using mid, and distinguish found and not found cases.
Explore array programming by computing sums, finding maximum and minimum elements, and performing a linear search using for loops, for-each loops, and integer min and max concepts.
Explore how nested for loops generate indices for a 2D array by pairing i as the row index with j as the column index to print all matrix positions.
Explore nested for loops in C++, with an outer loop and an inner loop iterating from one to five, printing i and j values to form a 5x5 pattern.
Solve a practice problem: drawing pattern 1 in C++ by using nested for loops to print a growing count in a boxed pattern with proper spacing and newline handling.
Explore drawing patterns in c++ using nested for loops and conditional printing. Learn to print stars with i and j coordinates, manage spaces for diagonal and lower triangular patterns.
Tackle a practice problem on drawing pattern 3 to sharpen your C++ programming skills and advance toward deeper understanding.
Explore patterns using nested for loops to print star and number designs, including square and triangle shapes, with conditional spaces to shape patterns and sharpen programming logic.
Master declaring, initializing, and accessing two-dimensional arrays in C++, using A[2][3] and row-column indexing. Practice displaying elements with nested loops and adding matrices elementwise to produce a 2x3 result.
Declare and initialize a two-dimensional array, display and access its elements with nested for loops, and read values using cin, including a for-each loop with auto and references.
Master matrix operations in C++ by implementing addition and subtraction of 2x3 matrices using nested loops, validating dimensions, and displaying results.
Practice student exercise #6 demonstrates calculating the average of array elements in C++, by reading elements, storing them in an array, summing with a for loop, and dividing by count.
Practice student exercise number seven demonstrates matrix multiplication using two-dimensional arrays, checking dimension compatibility, and implementing nested for loops to multiply matrices, with input-output examples and a reference PDF.
Learn how pointers store addresses and how to declare, initialize, and dereference them in C++. Understand data variables versus address variables and the basic pointer syntax (* and &).
Declare and initialize an int pointer, assign it the address of a variable with value 10, print the variable’s value and address, the pointer’s own address, and the dereferenced value.
Explore why pointers exist in C++ by showing direct access to code and stack, with heap and devices accessed indirectly through pointers.
Explore heap memory allocation with pointers in c++, using new for arrays and delete for proper deallocation, and understand stack vs heap and avoiding memory leaks.
Learn dynamic memory allocation with heap pointers in C++. Allocate and resize heap arrays with new and delete, and avoid memory leaks by deleting arrays before resizing, with nullptr.
Understand pointer arithmetic in C++, using an int array and pointers to move to the next or previous elements, add or subtract offsets, and measure the distance between two pointers.
Explore pointer arithmetic on arrays by dereferencing and moving pointers, comparing P and Q, and accessing elements with A[i] or P[i], while printing values and addresses.
Learn how to avoid runtime errors from pointers by preventing uninitialized pointers, memory leaks, and dangling pointers, with proper initialization, deletion, and safe practices in C++.
Explore c++ references as aliases for a variable, sharing the same memory for x and y, with & denoting the reference and distinguishing l-value and r-value concepts.
Demonstrates aliasing in C++ by declaring a reference Y to X with &, sharing the same address and value. Shows that a reference must be initialized and cannot be reassigned.
Understand what a string is and how it stores characters as words, names, or sentences. Compare two C++ representations, character arrays and the string class, including null terminators and initialization.
Learn how to read strings in C++ from keyboard using character arrays and the string class, including get and get line, and how to ignore leftover input.
Explore c-style string operations for length, concatenation, and copy using arrays and pointers, with practical demonstrations of measuring length, concatenating strings, and copying content.
Learn to locate substrings within a main string, extract the remaining content, and handle not-found cases, then explore string operations like str cat and string compare for dictionary order.
Explore how to convert strings to numbers in C++, including string to long integer and string to float, and learn string tokenization for key-value pairs using equal-to and semicolon delimiters.
Explore the string class in C++, a built-in object with capacity management and null-terminated storage. Declare and initialize strings, read input with cin and get line, and display with cout.
Explore the built-in functions of the string class, including length (aka size), capacity and max size, and methods like clear, empty, and resize, demonstrated on string objects.
Learn the string class in C++ by using append and insert, see how append adds to the end, insert places content at an index, and how capacity and length adapt.
Master string manipulation in C++ by learning replace and swap operations, and by using erase, push back, and pop back to modify strings such as programming.
Explore string class operations in c++, copying strings into a character array with length and null termination, and locating characters or substrings with find first of and find last of.
Learn the C++ string class, using substring and compare to manipulate strings; read and write with at or subscript, and concatenate with plus.
Learn how to traverse and modify a string in C++ using the string class iterators, including forward and reverse iterators, begin and end, and applying character access and modification.
Explore two methods to find a string's length in C++. Count characters with a for loop and index, or with a string iterator from begin to end, using a counter.
Learn how to convert an uppercase string to lowercase in C++ by scanning each character with a for loop, using ASCII codes and a 32 difference to transform letters.
Count vowels, consonants, and words in a string by scanning left to right, recognizing vowels in uppercase or lowercase. Handle multiple spaces and ignore non-letter characters to derive accurate counts.
Learn how to check if a string is a palindrome by reversing and comparing it in C++, with practical steps, length handling, and examples like Madam and Malayalam.
Extract the username from an email by locating the @ symbol and taking the preceding substring with find and substr in C++. Validate the username against allowed characters.
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.
All Lecture are discussed both on white board like a classroom session and practical demo.
Programs and Bullet points are provided as resource.
Every Topic is Explained with Real life Examples
This course also covers features of modern C++ 11.
Student Project at the end of Course
Course Highlights
Every Topic is covered on White Board
Pratical Session for each Topic
Section wise Quiz
Section wise Workbook Programs
Student Project
You will be learning concepts perfectly and also learn how to perfectly utilise features of C++. you will be confident to develop any type of Application using C++.
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