Oopbookreview Qasimzhaeer-124
Oopbookreview Qasimzhaeer-124
NAME:
Qasim Zaheer
DEPARTMENT:
BS-SE
SECTION:
Yellow
ROLL NO:
20101001-124
ASSIGNMENT:
Object Oriented Programming
SUBMITTED TO:
SIR ASIF
Date:
25 june,2021
BOOK REVIEW:
ABOUT BOOK:
The name of our book is OBJECT ORIENTED PROGRAMMING IN C++ fourth edition
The writer of the book is Robert Lafore.
The book is well-structured to explain object-oriented programming technique.
We have covered all the necessary topics including objects & classes, polymorphism,
functions of different type, files and streams and pointer etc.
This book teaches us programming innovations, OOP and Unified Modeling
Language.
The link of this book is given here Object-Oriented Programming
The references books are:
How to program C++ by Dietel and Dietel.
Thinking in C++ Volume#1 by E Bruce 2nd Edition.
ABOUT COURSE:
We have following topics in our course listed below:
Structure:
Structure basic.
Structure within structure.
Structures and classes Comparison.
Enumerations.
Objects and classes
Basics of class and objects with real world example
Basics of class and objects with programming example
Data member and member function
Access specifier
C++ objects as data types
Constructors
Default Constructors
Parameterized Constructors:
Copy Constructor
Uses of Initializer List
Destructors Object as function argument
Overloaded constructor
Member functions defined outside the class
Objects as arguments
Functions and functions overloading
Functions
Functions Basics
Function:
Inline functions
Default arguments
Variables and storage classes
Automatic variable
External variables
Static variables
Const function arguments.
Inheritance:
Inheritance basics in real world and programming
Derived class and base class
public, private & protected, Abstract Classes
Specifying the derived class
Accessing base class members
The protected access specifier
Derived class constructors
Overriding member functions
Class hierarchies
Abstract base class
Constructor and member function
Scope resolution with overridden functions
Public and private inheritance
Access combinations
Access specifiers: when to use what
Level of inheritance
Multiple inheritance
Ambiguity in multiple inheritance
Containership: classes within class
Composition and aggregation
Inheritance and program development
Pointers:
Pointer basics concepts
Addresses and pointers
The address of operator
Pointer and arrays
Pointers and functions
Pointers and c type string
Memory management: new and delete
Pointer to objects
Pointers to pointers
Overriding vs overloading
overriding a member function of a base class
Virtual Function: