hey guys,
I'm stuck with my final project and I would like a little help
This project is based on class implementation so here's the class that the teacher gave us
Code:
#ifndef ENGINEER_H
#define ENGINEER_H
//engineer class definition
#include<fstream>
#include<string>
using namespace std;
class Engineer
{
private:
string fName, lName, degree, hireDate;
double salary;
public:
//constructor
Engineer( string = "", string = "", string = "", string = "", double = 0.0 );
//accessor functions
string FName();
string LName();
string Degree();
string HireDate();
double Salary();
//modifier functions
void setFName( string );
void setLName( string );
void setDegree( string );
void setHireDate( string );
void setSalary( double );
//input functions
void getFName( istream& );
void getLName( istream& );
void getDegree( istream& );
void getHireDate( istream& );
void getSalary( istream& );
//output functions
void putFName( ostream& );
void putLName( ostream& );
void putDegree( ostream& );
void putHireDate( ostream& );
void putSalary( ostream& );
};
#endif
How could I start my implementation file What I need to do is ask the user for the first name, last, degree, hired date, and salary!
Could you guys just give me some advice thank you