0xMishra / cpp-prac

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CPP-Practical-Exam

1.1 Create Matrix class. Write a menu-driven program to perform following Matrix operations:

a) Sum

b) Product

c) Transpose

1.2 Rewrite above Matrix class with exception handling. Exceptions should be thrown by the functions if matrices passed to them are incompatible and handled by main() function.

  1. Create a class Student containing fields for Roll No., Name, Class, Year and Total Marks. Write a program to store 5 objects of Student class in a file. Retrieve these records from file and display them.

  2. Create a class Triangle. Include overloaded functions for calculating area. Overload assignment operator and equality operator.

About


Languages

Language:C++ 100.0%