Basic Syntax and Program Structure
1 Topics
C++ Program Structure
14 Sub-topics
Understanding the main() Function
Header Files and Their Purpose
The #include Directive Explained
Statements and Semicolons
Code Blocks and Curly Braces
Writing Comments - Single Line
Writing Comments - Multi Line
Code Indentation Best Practices
Naming Conventions in C++
Variables and Data Types
1 Topics
Data Types and Variables
25 Sub-topics
What are Variables in C++
Variable Declaration and Initialization
Integer Variants - short and long
Integer Variants - long long
Unsigned Integers Explained
Floating Point - long double
Character Data Type - char
Fixed Width Integers - int8_t to int64_t
The auto Keyword for Type Inference
Constants Using constexpr
Literal Suffixes and Prefixes
Type Sizes and sizeof Operator
Variable Scope - Local Variables
Variable Scope - Global Variables
Static Variables Explained
Operators in C++
1 Topics
Arithmetic Operators Overview
Addition and Subtraction Operators
Multiplication and Division Operators
Modulus Operator and Applications
Increment and Decrement - Prefix
Increment and Decrement - Postfix
Compound Assignment Operators
Relational Operators Overview
Equality and Inequality Operators
Greater Than and Less Than Operators
Ternary Conditional Operator
sizeof Operator Deep Dive
Scope Resolution Operator
Pointer to Member Operators
Operator Precedence Rules