Object Oriented
Programming
with C++
As per CE, IT, and ICT B.E 4th Semester Syllabus
The book covers
Concepts of OOP
C++ Basics
C++ Functions
Objects and Classes
Inheritance
Pointers and Polymorphism
I/O and File Management
Templates, Exceptions, and STL
About the Book
` 275/-
ISBN: 9789351197553 Pages: 452 Authors: Mahesh D. Titiya, DTES
These days object oriented approach in software development has become the de-facto standard for the IT industry to develop product
or software on customer demand. The Object Oriented Programming with C++ book is designed to help you understand the basics of
C++, objects and classes, inheritance, polymorphism, input/output (I/O) and file management, and advance topics, including templates,
exceptions, and Standard Template Library (STL). This book is ideal for Software Developers who are looking forward to develop their
career in the field of programming.
In this book, you will learn about
Concepts of OOP: Introduction to OOP, Procedural vs. Object Oriented programming, principles of OOP, benefits and applications of OOP
C++ Basics: Overview, program structure, namespace, identifiers, variables, constants, enum, operators, typecasting, control structures
C++ Functions: Simple functions, call and return by reference, inline functions, macro vs. inline functions, overloading of functions, default
arguments, friend functions
Objects and Classes: Basics of object and class in C++, private and public members, static data and function members, constructors and their
types, destructors, operator overloading, type conversion
Inheritance: Concept of inheritance, types of inheritance: single, multiple, multilevel, hierarchical, hybrid, protected members, overriding,
virtual base class, abstract classes
Pointers and Polymorphism: Pointers in C++, pointes and objects, this pointer, virtual and pure virtual functions, implementing
polymorphism
I/O and File Management: Concept of streams, cin and cout objects, C++ stream classes, unformatted and formatted I/O, manipulators, file
stream, C++ file stream classes, file management functions, file modes, binary and random files
Templates, Exceptions, and STL: What is template? function templates and class templates, introduction to exception, try-catchthrow,
multiple catch, catch all, rethrowing exception, implementing user defined exceptions, overview and use of Standard Template Library
About the Authors
Mahesh D. Titiya is an Assistant Professor in Computer Engineering Department at Government Engineering College, Rajkot, Gujarat. He has
done his M.E. in Computer Engineering. He is having an experience of more than 10 years. He has presented more than 10 papers in national
and international conferences. He has guided more than 35 UG (B.E. Computer Engineering) students for their final semester projects.
DT Editorial Services has seized the market of engineering textbooks, bringing excellent content in engineering and technical education to
the fore. The team is committed to providing excellence in quality of content by judiciously analyzing the needs of its readers and ensuring
dedication of its authors and editors in catering the same.
/dtechpress
/dtechpress
/dreamtechpress
dreamtechpress.wordpress.com
Table of Contents
1 Concepts of OOP
yy
Operator Overloading
yy
Type Conversion
yy
Procedural Vs. Object-Oriented Programming
yy
Basic Concepts and Principles of OOP
yy
Benefits of OOP
yy
Concept of Inheritance
yy
Applications of OOP
yy
Protected Members
yy
Overriding
2 C++ Basics
5 Inheritance
yy
Overview of C++
yy
Types of Inheritance
yy
Program Structure
yy
yy
Exploring the Basic Components of C++
Ambiguity and Solution While Implementing Multiple
Inheritance
yy
Type Casting in C++
yy
yy
Preprocessor Directives
Constructors and Destructors Invocation Order in
Multiple Inheritance
yy
Operators in C++
yy
Namespace
yy
Pointers in C++
yy
Control Structures
yy
Pointers and Objects
yy
Dynamic Memory Management Using Operators
6 Pointers and Polymorphism
3 C++ Functions
yy
Explore Functions
yy
The this Pointer
yy
Describing Call by Value and Call by Reference
yy
Implementing Polymorphism .
yy
Inline Functions
yy
Overloading of Functions
yy
Concept of Streams
yy
String Library Functions
yy
The cin and cout Objects
yy
Recursive Functions
yy
C++ Stream Classes
yy
Friend Functions
yy
Unformatted I/O
4 Objects and Classes
yy
Formatted I/O
7 I/O and File Management
yy
Basics of Object and Class in C++
yy
Manipulators
yy
Private and Public Members
yy
Stream Error States
yy
Member Functions
yy
File Stream
yy
Data Access Methods
yy
C++ File Stream Classes
yy
Constructors and Their Types
yy
File Management Functions
yy
Destructors
yy
Binary and Random Files
yy
Passing Objects as Function Parameters
yy
Returning Objects from Functions
yy
What is Template?
yy
Creating a const Object
yy
Overview and Use of Standard Template Library
yy
Static Data
yy
Basics of C++ Exception Handling
Published by:
/dtechpress
8 Templates, Exceptions, and STL
WILEY INDIA PVT. LTD.
DREAMTECH PRESS
4435-36/7, Ansari Road, Daryaganj
19-A, Ansari Road, Daryaganj
New Delhi-110 002, INDIA
New Delhi-110 002, INDIA
Tel: +91-11-4363 0000, Fax: +91-11-2327 5895
Tel: +91-11-2324 3463-73, Fax: +91-11-2324 3078
Email:
[email protected]Email:
[email protected]Website: www.wileyindia.com
Website: www.dreamtechpress.com
Regional Offices: Bangalore: Tel: +91-80-2313 2383, Fax: +91-80-2312 4319, Email:
[email protected]Mumbai: Tel: +91-22-2788 9263, 2788 9272, Telefax: +91-22-2788 9263, Email:
[email protected]/dtechpress
/dreamtechpress
Exclusively
Distributed by:
dreamtechpress.wordpress.com