1.4 - OBJECT ORIENTED PROGRAMMING USING C++
UNIT - I
Basics of Object Oriented Programming(OOP): Introduction to OOP - Difference between OOP and Procedure oriented Programming - Classes, Objects and Methods - Overview of Inheritance and Polymorphism, Fundamentals of C & C++: Structure of a C and C++ program - Preprocessor Directives - Data Types and Declaration - Expressions and operator precedence - Program allocation - new and delete operators.
UNIT - II
Data Abstraction: Class definition - Controlling access to other functions. Different types of constructors, Destructors, objects and Classes. Dynamic creation and destruction of objects. Overloading functions and operators. Overloading new and delete operators.
UNIT - III
Inheritance: Derived Classes - Syntax of derived classes - Access to base class, Overloading inherited member functions, Multiple inheritance, Virtual base class.
C++ I/O: Standard I/O using C functions, Stream I/O in C++, Manipulator Formatted I/O, Overloading << and >> operators, File I/O.
UNIT - IV
Virtual functions and polymorphism: Static and Dynamic bindings, Virtual functions, Pure Virtual function call mechanism, Implications of polymorphic use of classes, Virtual destructors, Calling virtual functions in abase class constructor.
UNIT - V
Generic Classes in C++: Necessity of Templates - Generic Classes using Macros, class templates, functions, proposed exception handling mechanism for C++.
Suggested Readings:
1.Programming in C++ - Bjarne Stroustrup
2.Programming in C++ - Robert Lafore
3.Object Oriented Programming - Barkakati
|