C++ Training Courses

Object Oriented Programming using c++

1)Programming by Example in C++ language:

C++ character set,C++ tokens(identifiers,keywords,Constants,operators,),Structure of C++ Program(include files ,main function);Header Files-iostream.h,iomanip.h;cout ,cin; Use of I/O operators(<< and >>),Use of endl and setw(), Cascading of I/O operatorsError messages;Use of Editor,basic commands of editor,compilation, linking and execution,standard input/output operation from C language :gets(),puts() of stdio.h header file.

2)Data Types,variables and Constants:

Concept of Data types; Built in Data types:char,int float and Double;Constants:Integer Constants,

Character Constants,(backslash character constants-/n,/t),Floating point Constants,String Constants,Access Modifier :const; Variables of Built in data -Type ,Declaration/Initialization of Variables,Assignment statement ;Type modifier:signed,unsigned long.

3)Operators and Expressions:

Operators :Arithmetic operators(-,+,/,%),Unary operator(-),

Increment and Decrement Operators(–,++), Relational Operator(<,>,<=,>=,!=),

Logical Operators(!,&&,||),Conditional Operator:?:;Precedence of Operators;Expressions;Automatic type conversion in Expressions,Type Casting ;C++ shorthands(+=,-=,*=,/=,%=);

4) Concept of object oriented programming:

Data hiding,Data Encapsulation,Classes and Object,Abstract class and concrete class,Polymorphism

()implementation of polymorphism using function overloading in C++);Inheritance,Advantages of Object Oriented Programmings earlier programming methodologies.

5) Implementation of Object Oriented Programming Concept in C++:

Definition of class, Members of a class,-Data Members and Member functions(methods),using private and and public visibility modes,default visibility mode(private).Member function definition.:inside class definition and Outside class using scope resolution operator(::) Declaration of Object as instances of a class accessing members from objects(s),Array of type class,object as function arguments-Pass by value,and pass by reference.

6) Constructor and Destructor:

Constructor: Special characteristics,Declaration and definition of a constructor,Default Constructor,Overload Constructor,Copy Constructor,Constructor with default arguments.

Destructor: Special characteristics,Declaration and definition of a Destructor. Dynamic initialization of Constructor.

7)Inheritance(Extending classes):

Concept of Inheritance Base class ,Derived class,defining derived classes,,protected visibility modes;Types of Inheritance;Single level inheritance,Multi level,Multiple inheritance,Hybrid inheritances privately derived.Publicaly derived and protected derived class,accessibility of members from objects and within derived class..

8)Polymorphism and Overloading:-

Introduction to polymorphism ,Types of polymorphism,(Compile time,Run time)

Virtual and pure Virtual Function.

Function overloading,Operator overloading,Function Overriding,Friend function,Type conversion.

9)Data file handling:

Need for a data file,types of data files-Text file and Binary file;basic file operation on text file :Creating /Writing Text into a file,Reading and Manipulation of text,from an already existing text file(accessing sequentially)

Binary file:Creation of file ,writing data into file Searching for a required data,from file,Appending data to a file,insertion of data in sorted file,deletion of data from a file,modification of data in a file.

Components of C++ to be used with file Handling. Basic Program.

Header file:fstream.h ifstrem, ofstream,fstream classes.;

opening a binary file in :in out and app modes;

open(),read(),write(),and close function

Leave a Reply

Your email address will not be published. Required fields are marked *