Sunday 21 February 2016

Virtual base Clases- C++ Marks Database

Q:-Design a C++ base class consisting of the data members such as name of the student, roll number and subject. The derived class consists of the data member’s subject code, internal assessment and university examination marks. Construct a virtual base class for the item name of the student and roll number. The program should have the facilities.
i) Build a master table ii) List a table iii) Insert a new entry
iv) Delete old entry v) Edit an entry vi) Search for a record


Code:-

Framework:- QT 5.5.1
OS :- Linux 64 bit(Ubuntu 14.04 LTS)
Language:-C++


Note:- The inheritance used here is utterly useless. This code has been made for the requirements of virtual base classes. The relation between a derived and a base class should always be of the kind derived class is a base class.
This is the actual test of inheritance. It shouldn't be derived contains base class or vice-versa.

Download Link

mediafire
contains executable, source and screenshot







No comments:

Post a Comment