Free Web Hosting Provider - Web Hosting - E-commerce - High Speed Internet - Free Web Page
Search the Web

LEARN C++ (ANSI & GNU STANDARDS)

 

 

INTRODUCTION

Installing GNU C++

OOPL and OO concepts

Principles of Encapsulation, Abstraction, Polymorphism etc.

Need of C++

Structural Comparison between C and C++

 

GETTING STARTED

First Program, “ Hello World”

Compatibility with C

Calling 'C' functions

'C' style comments

main()

Using debugger

                                                                                                                                                                                                                                          

ENCAPSULATION

“Class”, concept and syntax

Data structures provided in C++ (along with "C" Data Structures)

Strings, Arrays,

Reference, constants, static,

enum, union, arrays

A sample class

public, private, protected concept

Simple e.q. Class stack

Debugging data/variables watch points    

 

PROGRAM FLOW CONTROL AND I/O

if while control loops

cout and cin

Functions prototyping, scope of functions,

Pass by value/ pointer/ reference

inline, static ,extern, functions and their declaration

function overriding RULES

 

DYNAMIC ALLOCATION

new delete free

dynamic allocation of multi-D arrays

           

 

ABSTARCTION

What is Class?

Objects? Methods?

Constructors/ Destructors

Object pointers, references

Persistent objects

 

INHERITANCE

Class hierarchy and need

Parent/base children relationship

Inheritance Rules (public private protected)

Multiple Inheritance (default sequence of inheritance)

Constructors /destructors in Inheritance

 

POLYMORPHISM

Function overriding revisited

Operator Overriding

Virtual functions concepts

Friend functions

Examples string class 

 

ADVANCED CONCEPTS

Virtual base class

Class template

Abstract /interface class (pure virtual functions)

FILE I/O in C++ fstream iostreams hierarchy

Tricks in C++ finding object id, class name

Exceptions

Nested class (Generalization / aggregation a code snippet)

mutable,extensible,constant functions

Container classes in C++