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

Programming in c++

The document outlines a C++ programming curriculum divided into five units covering key concepts of Object-Oriented Programming, classes and objects, operator overloading, pointers, and file handling. It includes practical programming exercises to reinforce the concepts learned, such as demonstrating class and object usage, function overloading, inheritance, and exception handling. Recommended textbooks and reference materials are also provided to support the learning process.
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)
13 views2 pages

Programming in c++

The document outlines a C++ programming curriculum divided into five units covering key concepts of Object-Oriented Programming, classes and objects, operator overloading, pointers, and file handling. It includes practical programming exercises to reinforce the concepts learned, such as demonstrating class and object usage, function overloading, inheritance, and exception handling. Recommended textbooks and reference materials are also provided to support the learning process.
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

PROGRAMMING in C++

Unit I 15
Introduction to C++ - key concepts of Object-Oriented Programming – Advantages – Object
Oriented Languages – I/O in C++ - C++ Declarations. Control Structures : - Decision Making
and Statements : If..else, jump, goto, break, continue, Switch case statements - Loops in C++
:for, while, do - functions in C++ - inline functions – Function Overloading.
Unit II 15
Classes and Objects: Declaring Objects – Defining Member Functions – Static Member
variables and functions – array of objects –friend functions – Overloading member functions –
Bit fields and classes –Constructor and destructor with static members.
Unit III 15
Operator Overloading: Overloading unary, binary operators – Overloading Friend functions –
type conversion – Inheritance: Types of Inheritance – Single, Multilevel, Multiple, Hierarchal,
Hybrid, Multi path inheritance – Virtual base Classes – Abstract Classes.
Unit IV 15
Pointers – Declaration – Pointer to Class , Object – this pointer – Pointers to derived classes
and Base classes – Arrays – Characteristics – array of classes – Memory models – new and
delete operators – dynamic object – Binding, Polymorphism and Virtual Functions.
Unit V 15
Files – File stream classes – file modes – Sequential Read / Write operations – Binary and
ASCII Files – Random Access Operation – Templates – Exception Handling - String –
Declaring and Initializing string objects – String Attributes – Miscellaneous functions.
Text Book

• E. Balagurusamy, ―Object-Oriented Programming with C++, TMH 2013, 7th Edition.


Reference Books

• Ashok N Kamthane, ―Object-Oriented Programming with ANSI and Turbo C++,


Pearson Education 2003.
• Maria Litvin & Gray Litvin, ―C++ for you, Vikas publication 2002.
Practical PROGRAMMING in C++

1. Write a C++ program to demonstrate Class and Objects .

2. Write a C++ program to demonstrate function overloading

3. Write a C++ program to demonstrate the concept of Passing Objects to Functions

4. Write a C++ program to demonstrate the Friend Functions.

5. Write a C++ program to demonstrate Constructor and Destructor

6. Write a C++ program to demonstrate Unary Operator Overloading

7. Write a C++ program to demonstrate Binary Operator Overloading

8. Write a C++ program to demonstrate: Single Inheritance

9. Write a C++ program to demonstrate: Multiple Inheritance

10. Write a C++ program to demonstrate Virtual Functions.

11. Write a C++ program to find the Biggest Number using Command Line Arguments

12. Write a C++ program to demonstrate Exception Handling.

13. Write a C++ program to traverse an array using pointers

14. Write a C++ program to create a text file and write some content into it

15. Write a ++ program to open an existing text file and display its contents

You might also like