Bhavna Singh

Bhavna Singh

  • 2k
  • 2
  • 184

c++, constructor

Apr 10 2021 12:31 PM
Create a class Employee with the data members such as name, id and total salary. Create a file as “Employee_Data” as binary file and write the information of four employees to that file. Open that file in reading mode and only display the record of 2nd and 3rd employees.