Programming

C++ Language

Migrated course from legacy data

Course Syllabus

1

Introduction to Programming and C++

  • What is programming?
  • Importance of programming
  • History and evolution of C++
  • Features of C++
  • Applications of C++
2

Setting up the Development Environment

  • Installing a C++ compiler (e.g., G++)
  • Introduction to an Integrated Development Environment (IDE)
  • Writing and executing the first C++ program
3

Basic Syntax

  • Structure of a C++ program
  • Comments and indentation
4

Data Types

  • Variables
  • Primitive data types (int, float, char, double, bool)
  • Constants and literals
5

Operators

  • Arithmetic operators
  • Assignment operators
  • Relational operators
  • Logical operators
  • Bitwise operators
6

Control Structures

  • Conditional statements (if, if-else, nested if-else, switch-case)
  • Loops (for, while, do-while)
  • Break and continue statements
  • Nested loops
7

Functions

  • Introduction to functions
  • Function declaration and definition
  • Passing arguments (call by value, call by reference, call by address)
  • Return values
  • Scope of variables
  • Recursion
  • Function overloading
8

Arrays

  • Introduction to arrays
  • One-dimensional arrays
  • Multi-dimensional arrays
  • Array operations (traversal, searching, sorting)
9

Pointers

  • Understanding memory addresses
  • Introduction to pointers
  • Pointer arithmetic
  • Pointers and arrays
  • Dynamic memory allocation (new and delete)
10

Strings

  • Introduction to strings
  • C-style strings
  • String operations (concatenation, copying, comparison)
  • C++ string class
11

Object-Oriented Programming (OOP)

  • Introduction to OOP
  • Classes and objects
  • Constructors and destructors
  • Access specifiers (public, private, protected)
  • Encapsulation
  • Inheritance (single, multiple, and hierarchical)
  • Polymorphism (function overloading and operator overloading)
  • Virtual functions and abstract classes
12

File Handling

  • Introduction to file operations
  • File streams (ifstream, ofstream, fstream)
  • Opening and closing files
  • Reading from and writing to files
  • File modes (ios::in, ios::out, ios::app, ios::trunc)
  • Error handling in file operations
13

Templates

  • Introduction to templates
  • Function templates
  • Class templates
14

Standard Template Library (STL)

  • Introduction to STL
  • Containers (vector, list, deque, set, map)
  • Iterators
  • Algorithms (sort, find, accumulate, etc.)
15

Exception Handling

  • Introduction to exceptions
  • Try-catch blocks
  • Throwing and catching exceptions
  • Standard exceptions
16

Advanced Topics

  • Command-line arguments
  • Namespaces
  • Preprocessor directives
  • Friend functions and classes
  • Operator overloading
  • Introduction to data structures (linked lists, stacks, queues, trees)
  • Introduction to algorithms (searching, sorting, etc.)

Ready to Start Learning?

Join thousands of students who have transformed their careers with our expert-led training.