|
C++
·
Data types, Operators and
Statements
v
Identifiers
and Keywords
v
Constants
v
C++
Operators
v
Type
Conversion
·
Writing a program in C++
v
Variable
declaration
v
Statements
o
Expression
statement
o
Compound
statement
o
Control
statements
o
Simple
C++ programs
v
Features
of iostream.h and iomanip.h
v
Manipulator
Functions
o
Predefined
Functions
v
Input
statements
v
Output
statement
v
Input
and output (I/O) stream flags
·
Control statements
v
Conditional
statements
o
If
statement
o
If
– else statement
o
Switch
– case statement
v
Loop
statements
o
For
loop
o
While
loop
o
Do
– while loop
v
Breaking
control statements
o
Break
statements
o
Continue
statements
o
Goto
statements
·
Functions and Program Structures
v
Function
definition
v
Return
statement
v
Function
types
v
Actual
and formal arguments
v
Local
and global variables
v
Default
arguments
v
Multifunction
program
v
Storage
class specifiers
o
Automatic
variables
o
Register
variables
o
Static
variables
o
External
variables
v
Recursive
functions
v
Preprocessors
v
Macros
v
Header
Files
v
Standard
functions
·
Arrays
v
Array
notation
v
Array
declaration
v
Array
initialization
v
Processing
with an array
v
Functions
and arrays
v
Multidimensional
arrays
v
Character
arrays
·
Pointers
v
Pointer
declaration
v
Pointer
operator
v
Address
operator
v
Pointer
arithmetic
v
Pointer
and functions
o
Call
by value
o
Call
by reference
o
Pointer
to functions
o
Passing
a function to another
v
Pointer
and arrays
o
Pointer
and One Dimensional Array
o
Pointer
and multidimensional Array
v
Pointer
and strings
v
Array
of pointers
v
Pointer
to pointer
·
Structures and Unions
v
Declaration
of a structure
v
Initialization
of structure
v
Functions
and structures
v
Arrays
of structures
v
Arrays
within structure
v
Structure
within a structure(nested structure)
v
Pointers
and structures
v
Unions
v
Typedef
v
Enumerations
·
Classes and Objects
v
Introduction
v
Structures
and classes
v
Declaration
of classes
v
Simple
class
v
Private
v
Public
v
Protected
v
Member
functions
v
Defining
the object of a class
v
Accessing
a member of class
v
Pointers
and classes
v
Classes
and Unions
v
Array
of class objects
v
Classes
within a class(nested classes)
v
Constructors
o
Copy
constructors
o
Default
constructors
v
Destructors
v
Inline
member functions
v
Static
members
o
Static
data members
o
Static
function members
v
Friend
functions
v
Dynamic
memory allocations
o
New
operator
o
Delete
operator
v
This
pointer
·
Inheritance
v
Introduction
v
Single
inheritance
v
Base
class
o
Direct
base class
o
Indirect
base class
v
Types
of derivation
o
Public
inheritance
o
Private
inheritance
o
Protected
inheritance
v
Ambiguity
in single inheritance
v
Array
of class objects and single inheritance
v
Multiple
inheritance
v
Arrays
of class objects and multiple inheritance
v
Ambiguity
in multiple inheritance
v
Container
classes
v
Member
access control
o
Accessing
the public member
o
Accessing
the private member
o
Accessing
the protected member
o
Accessing
the private member by friend class
·
Overloading
v
Function
overloading
o
With
various data types
o
With
different number of arguments
v
Scope
rules
v
Special
features
v
Operator
overloading
o
Unary
operator
o
Binary
operator
v
Overloading
assignment operator
·
Polymorphism
v
Introduction
v
Virtual
functions
o
With
pointers
o
Early
binding
o
Late
binding
v
Pure
virtual functions
v
Abstract
base classes
v
Constructors
under inheritance
v
Destructors
under inheritance
v
Virtual
destructors
v
Virtual
base classes
·
Templates and Exception Handling
v
Function
templates
v
Class
templates
v
Exception
handling
o
Try
o
Catch
o
Throw
·
Data File Operations
v
Opening
and closing files
v
Stream
state member functions
v
File
operation
o
Character
I/O
o
String
I/O
o
Formatted
I/O
v
Binary
file operations
v
Structures
and file operations
v
Classes
and file operations
v
Array
of class objects and file operations
v
Nested
classes and file operations
v
Random
access file operations
|