Im having trouble with my code I have an error that I cant figure out.
error: no matching function for call to ‘employee::employee(double, double)’
employee* e = new employee(atof(i.c_str()),atof(x.c_str()));
^
The error seems rather clear: you do call employee::employee(double, double), but your class employee does not have a constructor that takes two double parameters.