Theme Options


OOC and Programming in C++

BI 1250


According to New Revised Syllabus w.e.f. 2010 PUNE, Maharashtra (INDIA)

Text Book of

OOC and Programming in C++

SY BSc Computers Sem-II

Author : Poonam Ponde

Book ID : 1250

More details





object oriented concepts1
1.1overview of procedure oriented programming1
1.2what is object oriented programming?3
1.3Basic Concepts of Object-Oriented Programming4
1.4Object-Oriented Methodology9
1.5Applications of OOP10
introduction to C++1
to author pl give Answers of Solved Programs (Pg No. 55) 1,2,31
2.1a brief history of C++1
2.2Differences between C and C++2
2.3Writing and Executing a C++ program5
2.4Simple C++ Programs7
2.5Structure of a C++ program10
2.6C++ basics10
2.7cin and cout15
2.8new operators in c++18
2.9type conversion24
2.10reference variables29
2.11defining classes31
2.12creating objects37
2.13array of objects40
2.14C++ stream classes43
2.15unformatted console i/o44
2.16formatted output47
Solved Programs55
Functions in C++1
3.2PASSING Information – Parameters4
3.3Default arguments7
3.4Function Overloading8
3.5inline functions11
3.6static class members15
3.7private member functions18
3.8friend functions and friend classes20
Solved Program26
Constructors and Destructor1
Solved Program18
OPerator overloading1
5.2the operator function3
5.3 rules for operator overloading6
5.4 “this” pointer7
5.5overloading unary operators9
5.6Overloading Binary operators14
Solved Programs23
6.1 what is inheritance?1
6.2 advantages of inheritance2
6.3 types of inheritance2
6.4 Single Inheritance9
6.5 overriding base-class members12
6.6Multiple inheritance14
6.7Multilevel Inheritance19
6.8Hierarchical Inheritance21
6.9Hybrid Inheritance22
6.10multipath inheritance and Virtual Base Classes25
6.11Constructors in Derived Classes30
6.12DESTRUCTORS in Derived Classes34
6.13Pointers to derived classes35
6.14Virtual Functions and polymorphism39
6.15Pure virtual functions44
6.16Abstract Classes47
Solved Program49
Working with files1
7.2file streams2
7.3file operations3
7.4Opening a file4
7.5Checking for open Failure6
7.6closing a file7
7.7Detecting the End-of-File8
7.8Reading / Writing a character from a file8
7.9reading and writing block of data11
7.10reading and writing objects13
7.11file pointers and their manipulation17
7.12File updation with random access20
Solved programs26
8.2Function template2
8.3Class templates9
8.4Template with multiple parameters13
8.5CASE study on STL15
Exception handling1
9.2what is an exception?2
9.3Exception handling Mechanism2
9.4Multiple Catch Statements8
9.5Catching Class Types10
9.6Catching Exception of all types14
9.7reThrowing an exception16
9.8Nesting try-catch Blocks17
9.9Exception specification18
Solved Program21


1. Object Oriented Concepts

1.1 Overview of procedure oriented programming

1.2 What is object oriented programming?

1.3Basic concepts of object-oriented programming

1.4Object-oriented methodology

1.5Applications of OOP

2. Introduction to C++

2.1 A brief history of C++

2.2Differences between C and C++

2.3Writing and executing a C++ program

2.4Simple C++ programs

2.5Structure of a C++ program

2.6C++ basics

2.7 Cin and cout

2.8 New operators in c++

2.9 Type conversion

2.10 Reference variables

2.11 Defining classes

2.12 Creating objects

2.13 Array of objects

2.14C++ stream classes

2.15 Unformatted console I/O

2.16 Formatted output

2.17 Manipulators

Solved Programs

3. Functions in C++


3.2Passing information–parameters

3.3Default arguments

3.4Function overloading

3.5 Inline functions

3.6 Static class members

3.7 Private member functions

3.8 Friend functions and friend classes

Solved Program

4. Constructors and Destructor




Solved Program

5. Operator Overloading


5.2 The operator function

5.3 Rules for operator overloading

5.4 “This” pointer

5.5 Overloading unary operators

5.6Overloading binary operators

Solved Programs

6. Inheritance

6.1 What is inheritance?

6.2 Advantages of inheritance

6.3 Types of inheritance

6.4 Single inheritance

6.5 Overriding base-class members

6.6 Multiple inheritance

6.7Multilevel inheritance

6.8Hierarchical inheritance

6.9Hybrid inheritance

6.10 Multipath inheritance and virtual base classes

6.11 Constructors in derived classes

6.12 Destructors in derived classes

6.13 Pointers to derived classes

6.14Virtual functions and polymorphism

6.15 Pure virtual functions

6.16Abstract classes

Solved Program

7. Working with Files


7.2 File streams

7.3 File operations

7.4Opening a file

7.5Checking for open failure

7.6 Closing a file

7.7Detecting the end-of-file

7.8 Reading/writing a character from a file

7.9 Reading and writing block of data

7.10 Reading and writing objects

7.11 File pointers and their manipulation

7.12File updation with random access

Solved programs

8. Templates


8.2Function template

8.3Class templates

8.4Template with multiple parameters

8.5Case study on STL

9. Exception Handling


9.2 What is an exception?

9.3Exception handling mechanism

9.4Multiple catch statements

9.5Catching class types

9.6Catching exception of all types

9.7 Rethrowing an exception

9.8Nesting try-catch blocks

9.9Exception specification

Solved Program

No customer comments for the moment.

Write a review

Write a review

30 other products

30 other products in the same category: