PakProject.com
A Free Source of Learning
You are here: Home > Lecture Notes > Introduction to C++ Programming
  Introduction to C++ Programming
NOTE: Most of the contents presented on this page are taken from book "Object Oriented Programming in C++" by Robert Lafore. The content presented here is just for educational purpose.

Class Lectures

Lecture-1

Data - What is an Algorithm - What is a Programming Language - What is a Program - Software and Hardware Implementation - High level and low level languages - Flow Chart - The C Program - Compiling - Linking - Running a C Program - Handling Errors in C program - Syntax Error - Warnings - Logical Errors

Lecture-2

Basic Program Construction - Whitespace - String Constants - Preprocessor Directives - Header Files - Comments - Integer Variables - Defining Integer Variables - Some useful commands - Debugging Commands

Lecture-3

Character Variables - Character Constants - Escape Sequences - Expressions - Precedence - Floating Point Types

Lecture-4

C++ IDE (Integrated Development Environment) - Lab Exercises

Lecture-5

Floating-Point Constants - The const Qualifier - The #define Directive - The setw Manipulator

Lecture-6

Type Conversion - Automatic Conversions

Lecture-7

Casts - Arithmetic Operators - The Remainder Operator - Arithmetic Assignment Operators - Increment Operators - Prefix and Postfix - The increment operator - The Decrement (--) Operator - Library Functions

Lecture-8

RELATIONAL OPERATORS

Lecture-9

Logical Operators - The if Statement - Multiple Statements in the if Body - The if...else Statement - Nested if...else Statements - Matching the else - Loops - The for Loop

Lecture-10

For loop Examples - Factorial Calculation - Multiple Initialization and Increment Expressions

Lecture-11

Nested for loop (digital clock creation) - Loop on characters [a-z] or [A-Z] - Prime Number generation - The while Loop - Flow Chart of while loop - The do Loop - Do �while flow chart - Library Function exit() - The getche() Library Function - Assignment Expressions

Lecture-12

Switch Statement - The break statement - switch Statement with Character Variables - The default Keyword - switch Versus if...else - The Conditional Operator - Logical Operators - The break Statement - The continue Statement - The goto Statement - Formatting Numbers

Lecture-13

What is an Array - One dimensional arrays declaration and initialization - Two dimensional arrays declaration and initialization - Three dimensional arrays declaration and initialization - String Functions - Array Fundamentals - Defining Arrays - Defining Arrays - Array Elements - Accessing Array Elements - Initializing Arrays - Multidimensional Arrays - c++ strings - Arrays of Strings
Lecture-14

What is a function? - Simple Functions - The Function Declaration - Calling the Function - The Function Definition - Passing Arguments to Functions - Passing Constants - Passing Variables - Passing by Value - Returning Values from Functions - The return Statement - Passing arguments to functions and return arguments - Reference Arguments - Passing Simple Data Types by Reference - Overloaded Functions - Recursion - Default Arguments - Inline Functions - Scope and Storage Class - Local Variables - Storage Class - Scope - Initialization - Global Variables - Role of Global Variables - Static Local Variables

Lecture-15

Structures - Defining the Structure - Syntax of the Structure Definition - 10 example programs of structures

Lecture-16

Introduction to Pointers - 9 Example programs of pointers

Practice Problems-1

Practice Problems-2

A C++ Tutorial

Object Oriented Programming in C++

A big collection of C++, Algo, and Data Structure Programs

Contains a huge collection of c++ programs for the subjects C++ programming - Algorithms - Data Structures - Pointers - Files - Sorting - Bubble Sort - Merge Sort - Selection Sort - Insertion Sort - Single Linked Lists - Double Linked Lists - Trees - Binary Tree - In order traversing - Pre order traversing - Post order traversing - Horner's Algorithm - Quick Sort - Games in C++ programming - Semester projects in C++ programming

  

Assignments

Assignment-1

Assignment from Shell programming, C programming, Linux Commands

Assignment-1 Solution

Assignment_2_3

Assignment from linux commands, fork, exec

Assignment_2_3 Solution

Assignment-4

Assignment from Threads, semaphore, mutex

Assignment-4 Solution

Assignment-5

Quizzes

Quiz-1

Quiz-1 Solution

Quiz-2

Quiz-2 Solution

Quiz-3

Quiz-3 Solution

Quiz-4

Quiz-4 Solution

Quiz-5

Quiz-5 Solution


Exams

Sessional-1

Sessional-1 Solution

Sessional-2

Sessional-2 Solution

Final Exam

Final Exam Solution

Lab Sessional-1

Lab Sessional-1 Solution

Lab Sessional-2

Lab Sessional-2 Solution



For any suggestions, feedback, complaints and advertisement contact us at info @ pakproject . com -- Copyrights © pakproject.com Disclaimer