Warning: There are all sorts of errors and typos in these files. Always double check using other online resources or your textbook or by asking an expert.
Create your first C++ program
– using CodeBlocks
cout, endl and escape sequences
– Examples
– Programming problems
+ Learn about comments
Variables, data types and input
– Creating variables
– Taking input from the user
– Primitive data types
+ Learn about identifiers
Arithmetic operations
– Examples
– Programming problems
+ Learn about shorthand
Math functions (pow, sqrt, abs)
– Examples
– Programming problems
if statement
– Examples
– Tracing problems – Level 1
– Tracing problems – Level 2
– Tracing problems – Level 3
– Programming problems
+ Learn about indentation
+ Learn about brackets
Switch
– Examples
– Tracing problems
Ternary operator (?:)
– Examples
Loop
– Examples: while loop
– Tracing problems: while loop level 1
– Tracing problems: while loop level 2
– Examples: do-while loop
– Examples: for loop
– Tracing problems: for loop level 1
– Tracing problems: for loop level 2
– Programming problems level 1
– Programming problems level 2
– Programming problems level 3
Function
– Examples
– Tracing problems – Level 1
– Tracing problems – Level 2
– Programming problems
Array
– Examples: 1D array
– Tracing problems: 1D array
– Programming problems: 1D level 1
– Programming problems: 1D level 2
– Examples: 2D array
– Tracing problems: 2D array
– Programming problems: 2D level 1
– Programming problems: 2D level 2
String
– Examples
– Tracing problems
– Programming problems
Projects
– TicTacToe (For Windows)
– Hangman (For Windows)
– Sokoban | Map (For Windows)
– Jinish collector (For Windows)
– Reading text file
– Writing text file
– Menu (unavailable)