#
**Learn C++ from Scratch**

## This course introduces you to fundamental programming concepts in C++, one of the most popular languages in the world.

The highly interactive course begins with a simple hello world program and proceeds on to cover common concepts such as conditional statements, loop statements, and functions in C++.

It then reflects upon the idea of pointers and arrays, as well as the power they give to the programmer to write better code.

Finally, it dives deeper in order to teach about advanced concepts such as classes, inheritance, and templates in C++ through interactive challenges and exercises.

**Contents**

**1. Introduction**

- Hello World!
- Code Explanation
- Compiling C++ Code
- Quiz
**Exercise:**Play Around With cout Statement

**2. Variables & User Input**

- Variables in C++
- Variable Syntax
- Variable Types
- Quiz
**Exercise 1:**Declaration and Initialization Of Data Types**Exercise 2:**Taking Inputs From Widget

**3. Simple Maths**

- Simple C++ Maths
- Maths Functions
- Quiz
**Exercise 1:**Compute Formula Using cmath**Exercise 2:**Computing Binomial Expression

**4. Conditional Statements**

- Comparison Operators
- if-else Statement
- Switch Statement
- Conditional Expression
- Quiz
**Exercise 1:**Even or Odd**Exercise 2:**Implementing Calculator

**5. Loops**

- while & do-while loops
- For Loop
- Equivalence of C++ Looping Structures
- Infinite Loops
- Quiz
**Exercise 1:**Multiplication Table Of a Number**Exercise 2:**Fibonacci Sequence upto n Number Of Terms**Exercise 3:**Pyramid Printing By Using For Loop

**6. Functions and Recursion**

- Introduction to Functions
- Function Declarations
- Calling Functions
- Parameters
- Passing Parameters
- Passing By Value
- Pass By Reference
- Recursion
- Quiz
**Exercise 1:**Function To Check Sum**Exercise 2:**Computing Cubes**Exercise 3:**Sum of Digits Using Recursion**Exercise 5:**Fibonacci Using Recursion

**7. Pointers & Arrays**

- What are Pointers?
- What are Arrays?
- Pointers Implementations
- Further Properties of Arrays & Pointers
- Pointer to a function
- Quiz
**Exercise 1:**Sorting Array in Ascending Order**Exercise 2:**Series Of Numbers**Exercise 3:**Making Matrix Using Arrays**Exercise 4:**Pascal Triangle**Exercise 5:**Implementing Double Pointers**Exercise 6:**Account Balance

**8. Classes and Inheritance**

- Introduction To Classes
- Class Member Functions
- Constructors
- Inheritance
- Polymorphism & Virtual Functions
- Quiz
**Exercise 1:**Calculating Area**Exercise 2:**Students Average Marks**Exercise 3:**Displaying Message Using Inheritance**Exercise 4:**Displaying Message Using Virtual Functions

**9. Templates**

- Introduction To Templates
- Class Templates
- Quiz
**Exercise 1:**Finding Max in an Array**Exercise 2:**Swapping Values**Exercise 3:**Finding Index of Smallest Value**Exercise 4:**Sorting Algorithm**Exercise 5:**Complex Numbers

Share This :

comment0 Commentsmore_vert