p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Professional C++ (http://p2p.wrox.com/forumdisplay.php?f=158)
-   -   Page 34-41 of the book (http://p2p.wrox.com/showthread.php?t=77593)

curiaquita December 29th, 2009 11:42 AM

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


All times are GMT -4. The time now is 05:56 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.