Object-Oriented Programming (OOP) in C++ is a way of writing code where you organize your program into objects that interact with each other. These objects have data and functions associated with them. OOP in C++ revolves around four main concepts:
1. **Encapsulation**: It's about bundling data ...
, LECTURE NOTES
ON
Object Oriented Programming Using C++
Prepared by
Dr. Subasish Mohapatra
Department of Computer Science and Application
College of Engineering and Technology,
Bhubaneswar Biju Patnaik University of Technology,
Odisha
2 P.T.O
, SYLLABUS
PCCS2207 Object Oriented Programming
Module I
Introduction to object oriented programming, user defined types, structures,
unions, polymorphism, encapsulation. Getting started with C++ syntax,
data-type, variables, strings, functions, default values in functions, recursion,
namespaces, operators, flow control, arrays and pointers.
Module II
Abstraction mechanism: Classes, private, public, constructors, destructors,
member data, member functions, inline function, friend functions, static members,
and references.
Inheritance: Class hierarchy, derived classes, single inheritance, multiple,
multilevel, hybrid inheritance, role of virtual base class, constructor and
destructor execution, base initialization using derived class constructors.
Polymorphism: Binding, Static binding, Dynamic binding, Static
polymorphism: Function Overloading, Ambiguity in function overloading,
Dynamic polymorphism: Base class pointer, object slicing, late binding,
method overriding with virtual functions, pure virtual functions, abstract
classes.
Operator Overloading: This pointer, applications of this pointer, Operator
function, member and non member operator function, operator overloading,
I/O operators. Exception handling: Try, throw, and catch, exceptions and
derived classes, function exception declaration, unexpected exceptions,
exception when handling exceptions, resource capture and release.
Module III
Dynamic memory management, new and delete operators, object copying,
copy constructor, assignment operator, virtual destructor.
Template: template classes, template functions.
Standard Template Library: Fundamental idea about string, iterators,
hashes, iostreams and other types.
Namespaces: user defined namespaces, namespaces provided by
library. Object Oriented Design, design and programming, role of
classes.
Text Books:
1. Object Oriented Programming with C++ by E. Balagurusamy,
McGraw-Hill Education (India)
2. ANSI and Turbo C++ by Ashoke N. Kamthane, Pearson Education
Reference Books:
1. Big C++ - Wiley India
2. C++: The Complete Reference- Schildt, McGraw-Hill Education (India)
3. C++ and Object Oriented Programming – Jana, PHI Learning.
4. Object Oriented Programming with C++ - Rajiv Sahay, Oxford
5. Mastering C++- Venugopal, McGraw-Hill Education (India)
3 P.T.O
, CONTENTS
Lecture 01: Introduction
Lecture 02: Object Oriented Programming
Lecture 03: BASIC CONCEPTS OF OBJECTS ORIENTED
PROGRAMMING Lecture 04: BENEFITS OF OOP
Lecture 05: Basics of C++
Lecture 06: Tokens
Lecture 07: Basic Data types in C++
Lecture 08: Symbolic Constant
Lecture 09: Operators
Lecture 10: Control Structures
Lecture 11: Functions in C++
Lecture 12: Function Overloading
Lecture 13: Class
Lecture 14: Member Function
Lecture 15: Nesting of Member function
Lecture 16: Array with Class
Lecture 17: Static Data Member
Lecture 18: Friendly functions
Lecture 19: Returning Objects
Lecture 20: Constructors
Lecture 21: Destructors
Lecture 22 & 23: Operator Overloading
Lecture 24: Type Conversion
Lecture 25: Class to Basic type
Lecture 26: Inheritance
Lecture 27: Multilevel Inheritance
Lecture 28: Hierarchical Inheritance
Lecture 29: Virtual Base Class
Lecture 30: Polymorphism
Lecture 31: Virtual functions
Lecture 32: Pure Virtual Functions
Lecture 33: C++ function overriding
Lecture 34: Exception Handling
Lecture 35: Array reference out of bound
Lecture 36: Containership in C++
Lecture 37: Template
Lecture 38: Class Template
Lecture 39: Virtual destructors
Lecture 40: Managing Console I/O
Lecture 41: Namespaces
Lecture 42: New & Delete Operators
4 P.T.O
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller pradsathy1999. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $5.59. You're not tied to anything after your purchase.