Programming Pandit

c/c++/c#/Javav/Python


Latest Update

CPP Lab Manual by G Krishna

  

C++ Lab Manual




S. NO.

PRACTICAL NAME

1.

Write a C++ program to input and output the basic details of a Student like Name and Age, Gender, Roll Number, etc.

2.

Create a class called 'EMPLOYEE' that has - EMPCODE and EMPNAME as data members - member function getdata( ) to input data - member function display( ) to output data Write a main function to create EMP, an array of EMPLOYEE objects. Accept and display the details of the employee.

3.

Write a C++ Program to design a class of multiple constructors.

4.

Write a C++ Program to implement the use of a Destructor.

5.

 Write a C++ program to find the largest of three numbers using inline function.

6.

Write a C++ program to show the use of friend function and friend class.

7.

Design a C++ class having static member function name showcount() which has the property of displaying the number of objects created of the class.

8.

Demonstrate a C++ program to implement the catching of multiple exceptions.

9.

Write a C++ program to illustrate the concept of inheritance.

10.

Write a C++ program to show the implementation of function overloading and function Overriding.

11.

Write a C++ program to overload binary operator `+' to add two complex numbers.

12.

Create a 'DISTANCE' class with : - feet and inches as data members - member function to input distance - member function to output distance

13.

Write a C++ program to show working of read/write operation on multiple files.

14.

Write a C++ program to demonstrate reading from two files simultaneously.



No comments:

Post a Comment