I am attempting to make a class with a function that will save data to a txt file. I thought that if i had a function with a filestream for a parameter i could just use the << operator and variable name to get it to type it in the file.
outputfile << "this is the id: " << id;
something like that... but even before i get to attempting that...
First error states that in the header it expected a ) on the line with the function name.
The second error says that Employee::saveEmployee is not a member of Employee