vanshkapoor / assignments

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CS3100-assignment

FILE CONTENT

  • main.cpp
  • employee.cpp
  • employee.h
  • Small-Database.txt
  • Output-Database.txt

FILES DESCRIPTION/ FUNCTIONALITIES ADDED

  • main.cpp : Contains Menu input. Calls function from employee.cpp. Reads inputdatabase file in start of program to show user database.
  • employee.cpp : Contains functions of Employee class. Contains the main logical functions that are working on the employee class and database file.
  • employee.h : Contains the class structure
  • Small-Database.txt : It is the initial Database of the code.
  • Output-Database.txt : It is the output file for the following code.

HOW TO RUN :

  • g++ ./main.cpp
  • ./a.out

OBJECTIVES ACHIEVED :

  • employee class and its member functions are completely working.
  • menu functionality is working perfect.
  • Input file is read and count of data is provided.
  • Menu functions which work on input data file and writes on output data file is working perfect.
  • Friend overloading functions that are called on menu option 2 and 3 are working as asked.

About


Languages

Language:C++ 100.0%