Giter Club home page Giter Club logo

Saad khan's Projects

oop-project-office-data-bank icon oop-project-office-data-bank

In this project we made a program which depicts the data of employees in an ordinary office We used all the major concepts of Object oriented programming which we have studied in this project’s code First we made an abstract class which includes two pure virtual functions, this is a concept of polymorphism We made another info class , which is a general class having all the general variables like name, age, salary, ID and two member function to get and display general information. These two functions are overriding the pure virtual functions made in abstract class. Then we made a manager class which inherit the info class through the concept of inheritance . This manager class have two extra variables, work experience and education We made another class Internie , which contains education as an extra variable We used the concept of composition in this class to make an object of info class in internie class and call the member functions of info class from that object. We made another class low grade employees which also is a child class of info class and this class contains static data member and static function which count the total number of low grade employees This class also contains an overloading binary operator which add the salaries of all employees to calculate the total wage bill and return that value as an object. In the main section we made info class pointer in which we stored the address of manager class object and we called manager class functions from that pointer through the concept of late binding. In the output the user will ask to enter the data of employees User have to enter the details like NAME,AGE,ID and SALARY Then the program display details like date of joining and total number of lowgrade employees and total wage bill of both employees etc

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.