Introduction
  • Introduction
How to use different IDE to write, compile and execute C++ programs.
  • Download Install and Use Code::Blocks IDE for your Windows Operating System.
  • Download, install and use Microsoft Visual Studio 2019 Community edition.
  • Mac Users: How to use Xcode for writing C++ programs under Mac.
  • Mac: Using text editor and command shell for writing and executing C++ program.
Understand the first program, variables, data types, operators, taking input.
  • Understand the first program that prints "Hello World" - First Part.
  • Understand the first program that prints "Hello World" - Second Part
  • Some more information on the first program.
  • Print "Awesome"
  • Understand variables - how to store data in memory.
  • Reference variable.
  • Arithmetic operations in C++ - learn how you can do arithmetic operations in C++
  • Take input from keyboard.
  • Reading Input from console and printing back.
  • Understand what is Explicit casting and when you need it.
  • lvalue, rvalue and assignment operator.
  • Unary increment (++) and decrement (--) operator.
  • Relational operators - helps to compare two values.
  • Logical operators - Logical AND operation.
  • Logical OR operation.
  • Logical NOT operation.
  • Shortcut assignment operators.
  • Arithmetical Operators
  • Section 3 Quiz
  • Character type data - ASCII values.
  • Character variable
  • Convert upper to lower case character
If else and switch statement - how to do branching.
  • If-else statement.
  • If-else if statement - when we need to test more conditions.
  • Write a program to check leap year.
  • Write a C++ program to calculate Income Tax.
  • Check the age
  • Conditional operator - the only ternary operator in C++. Alternative to if-else
  • switch-case statement
  • Section 4 Quiz
Loop - iterate over a section of code.
  • While loop.
  • While Loop Test1
  • While loop example - C++ program to find factorial of a number.
  • Write another program using while loop - Find sum of numbers using while.
  • While loop to find sum of digits of a number.
  • While Loop Test2
  • What will happen if you put semicolon at the end of while statement.
  • do while loop, first do then check.
  • For loop
  • More information on for loop.
  • Find Factorial
  • Printing multiplication table using for loop.
  • Fibonacci series using for loop.
  • Count of odd and even digits in a number.
  • Nested loops - one loop inside another.
  • Star Pattern #1
  • Star Pattern #2
  • Star Pattern #3
  • Finding factors of a number and chech for Prime number.
  • Use of break keyword within a loop.
  • Example program that uses break
  • Learn how 'continue' works within loop.
  • Loop
How to generate random integers in C++ program.
  • How we can generate random numbers in C++ programs and how to initialize seed.
Modularise your program using function.
  • Introduction to user defined function.
  • Passing parameters to function.
  • Calling a function
  • Function prototype declaration.
  • Passing Reference parameter to function.
  • Reference Parameter
  • Example showing benefit of passing reference parameter.
  • A function to check Armstrong Number
  • Write a function to check if a number is Prime number or not.
  • Primorial
  • Series Sum #1
  • Series Sum #2
  • Tribonacci Series
  • Default parameter in methods.
  • Function Overloading, compile time Polymorphism.
  • Quiz on user defined function
Pointers
  • Understanding Pointer Basics - Part 1
  • Understanding Pointer Basics - Part 2
  • Understanding Pointer Basics - Part 3
  • Understanding Pointer Basics - Part 4
  • Understanding Pointer Basics - Part 5
  • Understanding Pointer Basics - Part 6
  • PointerTest1
  • PointerTest2
  • Pointer Basics
Array - basic datastructure
  • Introduction to Array
  • Input and output operations with 1 dimensional array.
  • Array initialization
  • ArrayExercise1
  • ArrayExercise2
  • Relationship between 1D array and pointers.
  • How to pass array to function.