0% found this document useful (0 votes)
41 views2 pages

Reface: About The Subject

This document provides an overview and summary of a book about programming in C++. It discusses key topics covered in the book including introduction to C++ and object oriented programming, classes, inheritance and streams, exceptions and templates. The book is intended to help students learn C++ programming and prepare for exams by providing important questions, example programs, and two model papers. Suggestions from readers will help improve future editions.

Uploaded by

Mahesh Goud
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
41 views2 pages

Reface: About The Subject

This document provides an overview and summary of a book about programming in C++. It discusses key topics covered in the book including introduction to C++ and object oriented programming, classes, inheritance and streams, exceptions and templates. The book is intended to help students learn C++ programming and prepare for exams by providing important questions, example programs, and two model papers. Suggestions from readers will help improve future editions.

Uploaded by

Mahesh Goud
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

PREFACE

ABOUT THE SUBJECT


C++ is extended version of C. It is a general purpose and object-oriented language developed by Bjarne Stroustrup at
Bell Laboratories, (AT and T Bell labs) in 1980’s. The popularity of the ‘C++’ language is due to its many characteristics
like generality, efficiency and speed. It is a structured programming language that provides several facilities in order
to group data in data structure. Stroustrup added features such as strong typing, inlining and default arguments to
C++. It is a statically typed programming language.

C++ also facilitates type checking and modularity through classes. Class is the key concept of C++. It is user-defined
data type and provides features such as data hiding, implicit type conversion, dynamic typing, user controlled memory
management etc. C++ library mostly depends upon STL. Other useful tool it provides are containers, iterators,
multisets, templates etc. It is implemented through compilers rather than interpreters. C++ and its standard libraries
are designed for portability.

ABOUT THE BOOK


This book provides theoretical and practical knowledge to the student about “Programming in C++”. It covers the com-
plete syllabus of the subject prescribed by O.U. The content written in this book is presented in a consistently readable
and student friendly format so that student can prepare well for their both exams. This book is beneficial because it
gives complete up-to-date information about each topic. It helps the student in getting a clear idea about the important
questions in each topic. This book has been prepared keeping student’s views, ideas and suggestions in mind. The main
motivation behind the publication of this book is to help the student to gain good marks and knowledge in the subject.

According to the examination pattern of B.Sc students, this book provides the following features:

v Important Questions are included to help students prepare for Internal and External Assessment.

v List of Programs are provided before the units for easy reference.

v Every unit is structured into two main sections viz. Short Questions and Essay Questions with solutions
along with Learning Objectives and Introduction.

v Very Short Answers are also given.

v Two Model Papers are provided in order to help students understand the paper pattern in the end examination.

v Exercise Questions are provided for every unit which the students need to solve.

The table below gives complete idea about the subject, which will be helpful to plan and score good marks in their
exams.
Unit
Unit Name Description
No.
This unit covers the basic concepts of C++ and Object Oriented Program-
ming. It includes topics like Applications, Example Programs, Tokens,
Tokens, Data Types, Operators, Expressions, Control Structures, Arrays,
Strings, Pointers, Searching and Sorting Arrays. Introduction of Func-
Introduction to C++ and
1. tions, Prototype, Passing Data by Value, Reference Variables, Using Ref-
Object Oriented Programming
erence Variables as Parameters, Inline Functions, Default Arguments,
Overloading Functions, Passing Arrays to Functions. Procedural and
Object-Oriented Programming, Terminology, Benefits of OOP, OOP
Languages and Applications.
This unit covers the basic concept of Classes. It includes topics
like Defining an Instance of a Class, Why Have Private Members?,
Separating Class Specification from Implementation, Inline Member
Functions, Constructors, Passing Arguments to Constructors, Destruc-
2. Classes
tors, Overloading Constructors, Private Member Functions, Arrays of
Objects, Instance and Static Members, Friends of Classes, Member-
wise Assignment, Copy Constructors, Operator Overloading, Object
Conversion, Aggregation.
This unit covers the basic concepts of Inheritance and C++ Streams.
It includes topics like Protected Members and Class Access, Base
Class Access Specification, Constructors and Destructors in Base and
3. Inheritance and C++ Streams Derived Classes, Redefining Base Class Functions, Class Hierarchies,
Polymorphism and Virtual Member Functions, Abstract Base Classes
and Pure Virtual Functions, Multiple Inheritance. Stream Classes,
Unformatted I/O Operations, Formatted I/O Operations.
This unit covers the basic concepts of Exceptions and Templates. It
includes topics like Throwing an Exception, Handling an Exception,
Object-Oriented Exception Handling with Classes, Multiple Excep-
tions, Extracting Data from the Exception Class, Re-throwing and
4. Exceptions and Templates
Exception, Handling the bad_alloc Exception. Function Templates
Function Templates with Multiple Type, Overloading with Function
Templates, Class Templates Defining Objects of the Class Template,
Class Templates and Inheritance, Introduction to the STL.


It is sincerely hoped that this book will satisfy the expectations of students and at the same time helps them to score
maximum marks in exams.

Suggestions for improvement of the book from our esteemed readers will be highly appreciated and incorporated
in our forthcoming editions.

You might also like