Wrox Programmer Forums
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old December 29th, 2009, 11:42 AM
Authorized User
Join Date: Apr 2008
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

Last edited by curiaquita; January 10th, 2010 at 10:59 AM..

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

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