Code:
bool getEmp(ifstream& empFile, string& lastName, string& firstName,
double& salary, double& raise);
void writeEmp(ofstream& newFile, string& firstName, string&lastName,
double& updatedSalary);
void calcSalary(double salary, double raise, double updatedSalary);
using namespace std;
ifstream, ofstream, and string are all part of the std namespace, so the compiler doesn't see them until after your using declaration. the simple fix is to put 'using namespace std' immediately after your includes.
>I pretty much suck at programming I guess.
Maybe, but I doubt you've been at it long enough to know that ;)