Need for object oriented programming – Procedural Languages vs. Object oriented approach – Characteristics Object oriented programming – C++ Programming Basics: Basic Program Construction – Output Using cout – Input with cin – Data types – Variables and Constants – Operators – Control Statements-Manipulators-Type conversion.
Simple Class – C++ Objects as Physical Objects – C++ Object as Data types – Constructors and Destructors – Object as Function Arguments – Returning Objects from Functions – Structures and Classes – Arrays and Strings.
Need of operator overloading – Overloading Unary Operators – Overloading binary Operators – Overloading Special Operators – Data Conversion – Inheritance: Derived Class and Base Class – Derived Class Constructors – Overriding Member Functions-Class Hierarchies – Public and Private Inheritance – Levels of Inheritance – Multiple Inheritance
Virtual Function – Friend Function – Static Function-Assignment and Copy Initialization – Streams – String I/O – Character I/O – Object I/O – I/O with Multiple Objects – File Pointers – Disk I/O with Member Functions – Error Handling in File I/O.
Templates: Introduction – Function Templates – Overloading Function Templates – Class Templates – Exception Handling – Syntax, multiple exceptions, exceptions with arguments
Reference Book:
1. D.S.Malik, ―C++ Programming‖, Thomson, 2007. 2. K.R.Venugopal, Rajkumar and T.Ravishankar, ―Mastering C++‖, Tata McGraw Hill Publishing Co. Ltd., New Delhi, 2006. 3 . E.Balagurusamy, ―Object Oriented Programming with C++‖, Sixth Edition, McGraw Hill Education, 2013. 4 .Joyce Farrell, ―Object-Oriented Programming Using C++‖, Fourth Edition, 2008. 5 .Subhash K U, ―Object Oriented Programming with C++‖, First Edition, Pearson Education, 2010.
Text Book:
1 Robert Lafore, Object Oriented Programming in-C++, Golgotha Publication, 2009. 2 Deitel&Deitel, ―C++ How to program‖, Prentice Hall, 2005.