Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > C# and C > C++ and Visual C++ > BOOK: Professional C++
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Professional C++
This is the forum to discuss the Wrox book Professional C++ by Nicholas A. Solter, Scott J. Kleper; ISBN: 9780764574849
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional C++ section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 29th, 2009, 11:42 AM
Authorized User
 
Join Date: Apr 2008
Location: newcastle upon tyne, tyne and wear, United Kingdom.
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Question 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..
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
chapter 2 - page 41 problem creating the page.. jorjiana BOOK: Beginning Oracle Application Express ISBN: 9780470388372 2 August 22nd, 2009 04:25 AM
show numeric value as 102,34 (EURO money) crmpicco Perl 1 May 11th, 2008 07:05 AM
Properties box for the body element -- Page 40-41 zcorker ASP.NET 1.0 and 1.1 Basics 3 October 25th, 2007 01:14 AM



All times are GMT -4. The time now is 02:42 PM.


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