Page 34-41 of the book
Hi Guys,
Does anyone knows where is located the file "Employee.h" that is declared on the top of the Database program on page 34 ?
Moreover I am getting 2 errors linked to overload functions.
The errors are below for your attention:
Error 2 error C2040: 'Records::Database::addEmployee' : 'Records::Employee &(std::string,std::string)' differs in levels of indirection from 'Records::Employee (std::string,std::string)' d:\programming\c++\professional c++\database\database\database.cpp 21 Database
Error 1 error C2556: 'Records::Employee &Records::Database::addEmployee(std::string,std::s tring)' : overloaded function differs only by return type from 'Records::Employee Records::Database::addEmployee(std::string,std::st ring)' d:\programming\c++\professional c++\database\database\database.cpp 21 Database
Any help will be appreciated
Thanks
Curiaquita
Last edited by curiaquita; January 10th, 2010 at 10:59 AM..
|