Question
Please code these 2 functions in c++ based on what it says, you do not have to create a main or get a program to
Please code these 2 functions in c++ based on what it says, you do not have to create a main or get a program to run, but just coding these 2 functions.
Please use the record.dat as reference as to what would be there when coding the functions
----------------------------------------------------------
---------------------------------------------
Here are things that are in records.dat which is a txt file:
882966 Etzel 120580
189028 Goodwyn 74088
479122 Salzman 191052
484002 Ealey 57691
677207 Reich 155184
751833 River 40471
954117 Still 121316
791004 Gebhard 178656
115794 Mcphail 97020
690632 Dockery 140784
374049 Standard 82919
600003 Marker 186229
482416 Bachmann 117152
432128 Santillan 151831
625472 Dubuc 195442
751331 Demaria 91670
200523 Pollard 191803
983754 Gonsalves 114952
963867 Cull 104868
200772 Eoff 47022
680542 Bledsoe 194847
614227 Paradise 58515
860860 Fludd 136093
Employee class(if needed):
class Employee{ public: Employee(int, std::string, int); int id() const {return identifier;} std::string name() const {return lastname;} int sal() const {return salary;} void print(std::ostream &);
private: int identifier; std::string lastname; int salary; };
mapStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started