/Cpp-Programming-Language

Cpp programming language lectures for computer science students.

Primary LanguageC++

Cpp-Programming-Language

Cpp programming language lectures for computer science students.



Part 1 C++ Basics and Pointers 25 hrs

Lecture 01 - Overview

Agenda
  • History of C++
  • Interpreter vs. Compiler
  • C++ Identifiers and Reserved Words
  • Lines and Indentation
  • Multiline Statements
  • Quotation and Comments

Lecture 02 - Variable Types

Agenda
  • C++ Variables
  • C++ Integers
  • C++ Floats
  • C++ Strings
  • C++ Arrays
  • Data Type Conversion

Lecture 03 - Basic Operations

Agenda
  • Arithmetic Operators
  • Comparison Operators
  • Bitwise Operators
  • Assignment Operators
  • Logical Operators
  • Operators Precedence

Lecture 04 - Conditions

Agenda
  • Decision making Definition
  • IF Statement
  • IF and ELSE Statements
  • IF, ELSE IF and ELSE Statements
  • Nested IF Statements
  • Single Statement Suites
  • Switch Statement

Lecture 05 - Loops

Agenda
  • Loop Definition
  • While Loop Statements
  • Do While Loop Statements
  • For Loop Statements
  • Nested Loops
  • Loop Control Statements
Agenda
  • Introduction to Pointers
  • Incrementing and Decrementing Pointers
  • Pointer Comparisons
  • Array of Pointers
  • Pointer to a pointer
  • Reference Variables



Part 2 C++ Arrays and Functions 25 hrs

Lecture 07 - Arrays

Agenda
  • Introduction to Array
  • Declaring and Initializing Arrays
  • Accessing Array Elements
  • Multidimensional Static Arrays
  • Dynamic Arrays
  • Multi-dimensional Dynamic Arrays

Lecture 08 - Functions

Agenda
  • Function Definition
  • Function Calls and Return Statement
  • Passing by Reference and Value
  • Function Arguments
  • Higher Order Functions
  • Anonymous Functions
  • Function Prototype
  • Global and Local Variables

Lecture 09 - Strings

Agenda
  • Introduction to String
  • Basic String Operations
  • Capacity Functions
  • Element access Functions
  • Modifiers Functions
  • Iterator Functions
  • Manipulating Functions

Lecture 10 - Structures

Agenda
  • Introduction to Structures
  • Accessing Struct Members
  • Constructor and Methods
  • Non-Static Members
  • Nested Structs
  • Pointer of Structure
  • Array of Structure
  • Passing Structure by Reference and Value
Agenda
  • Introduction to Enums and Unions
  • Macro and Typedef
  • Structures vs Unions
  • Nested Enums and Unions
  • Pointer of Enums and Unions
  • Passing Enums and Unions by Reference and Value

Lecture 12 - Numbers

Agenda
  • Numbers in C++
  • Math Module
  • Numeric Module
  • Random Module
  • Iterator Module



Assignments 5 hrs/Assignment

Assignment 01 - Basic Operator Problems in codeforces-phase-1-1

Assignment 02 - Condition Problems in codeforces-phase-1-1

Assignment 03 - Loop Problems in codeforces-phase-1-1

Assignment 04 - String Problems in codeforces-phase-1-1

Assignment 05 - List Problems in codeforces-phase-1-1

Assignment 06 - Basic Operator Problems in codeforces-phase-1-2

Assignment 07 - Condition Problems in codeforces-phase-1-2

Assignment 08 - Loop Problems in codeforces-phase-1-2

Assignment 09 - String Problems in codeforces-phase-1-2

Assignment 10 - List Problems in codeforces-phase-1-2



Educational-Projects 10 hrs/Project

Project 01 Project 02 Project 03 Project 04
Tic Tac Toe Game Connect Four Game Gomoku Game 8 Puzzle Game
Project 05 Project 06 Project 07 Project 08
SOS Game Dots and Boxes Game Snakes and Ladders Game Sudoku Game
Project 09 Project 10 Project 11 Project 12
Match Cards Game Reversi Game Draughts Game Minesweeper Game
Project 13 Project 14 Project 15 Project 16
2048 Game Ultimate Tic Tac Toe Game Battleship Game Multi Sudoku Game

  • C++ Primer Stanley, B. Lippman and Josee lajoie and Barbara E. Moo
  • Effective Modern C++, Scott Meyers
  • Accelerated C++, Andrew Koenig and Barbara E. Moo
  • C++ The Complete Reference, Herbert Schildt
  • C++ TutorialsPoint
  • A Complete Guide to Programming in C++, Ulla Kirch-Prinz