CONTENTS
1.Introduction C++ Programming Language
Why to Learn C++
Hello World using C++
Applications of C++ Programming
Object-Oriented Programming
2.Download & Installation
Download Turbo C++ software
3.Basic Syntax
C++ Program Structure
Compile & Execute C++ Program
4.Comments in c++
5.Data types
Basic type
6.Variable types
Variable type
Variable Declaration
7.Variable scope
Local Variables
Global Variables
Initializing Local and Global Variables
8.Constants/literals
Integer Literals
Floating-point Literals
Boolean Literals
Character Literals
9.Modifier types
Data type
10.Storage Classes
auto Storage Class
register Storage Class
static storage class
extern Storage Class
11.Operators
Arithmetic Operators
Relational Operators
Logical Operators
Bitwise Operators
Assignment Operators
Misc Operators
Operators Precedence in C++
12.Loop types
while loop
for loop
do...while loop
nested loops
13.Decision- Making Statements
if statement
if...else statement
switch statement
nested if statements
nested switch statements
14.Functions
Return Type
Function Name
Parameters
Function Declarations
Calling a Function
15.Functions
Math Operations in C++
16.Arrays
Declaring Arrays
Initializing Arrays
Accessing Array Elements
Multi-dimensional Arrays
Two-Dimensional Arrays
Pointer to an Array
17.Strings
The C-style character string
The string class type introduced with Standard C++.
18.Pointers
Pointers in C++
Null Pointers
Pointer Arithmetic
Incrementing a Pointer
Decrementing a Pointer
Pointer Comparisons
Pointers vs Arrays
Passing Pointers to Functions
19.Polymorphism
20.Web Programming
CONTENTS
1.Introduction C++ Programming Language
Why to Learn C++
Hello World using C++
Applications of C++ Programming
Object-Oriented Programming
2.Download & Installation
Download Turbo C++ software
3.Basic Syntax
C++ Program Structure
Compile & Execute C++ Program
4.Comments in c++
5.Data types
Basic type
6.Variable types
Variable type
Variable Declaration
7.Variable scope
Local Variables
Global Variables
Initializing Local and Global Variables
8.Constants/literals
Integer Literals
Floating-point Literals
Boolean Literals
Character Literals
9.Modifier types
Data type
10.Storage Classes
auto Storage Class
register Storage Class
static storage class
extern Storage Class
11.Operators
Arithmetic Operators
Relational Operators
Logical Operators
Bitwise Operators
Assignment Operators
Misc Operators
Operators Precedence in C++
12.Loop types
while loop
for loop
do...while loop
nested loops
13.Decision- Making Statements
if statement
if...else statement
switch statement
nested if statements
nested switch statements
14.Functions
Return Type
Function Name
Parameters
Function Declarations
Calling a Function
15.Functions
Math Operations in C++
16.Arrays
Declaring Arrays
Initializing Arrays
Accessing Array Elements
Multi-dimensional Arrays
Two-Dimensional Arrays
Pointer to an Array
17.Strings
The C-style character string
The string class type introduced with Standard C++.
18.Pointers
Pointers in C++
Null Pointers
Pointer Arithmetic
Incrementing a Pointer
Decrementing a Pointer
Pointer Comparisons
Pointers vs Arrays
Passing Pointers to Functions
19.Polymorphism
20.Web Programming