Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Ivor Horton's Beginning Visual C++ 2008 ISBN: 978-0-470-22590-5
This is the forum to discuss the Wrox book Ivor Horton's Beginning Visual C++ 2008 by Ivor Horton; ISBN: 9780470225905
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Ivor Horton's Beginning Visual C++ 2008 ISBN: 978-0-470-22590-5 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 March 17th, 2012, 02:09 PM
Registered User
Points: 18, Level: 1
Points: 18, Level: 1 Points: 18, Level: 1 Points: 18, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Feb 2012
Location: USA
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation Warning: Ex9_13 has several errors

The errata mentions several fixes, including adding the missing constructor, a delete statement to free the memory pointed to by pStack and a modification to the loop that pops CBox objects from the stack.

Ironically, the errata itself has an error in it's correction for this exercise. A long story short, save yourself some grief and grab the corrected source code from the 2010 edition of this book. Compare the two and you'll see how this should have been written.
 
Old May 20th, 2012, 10:28 PM
Authorized User
Points: 96, Level: 1
Points: 96, Level: 1 Points: 96, Level: 1 Points: 96, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2010
Posts: 19
Thanks: 0
Thanked 2 Times in 2 Posts
Default Ex9_13

If you try to compile the problem from the 2010 code for CStack with Visual studio 2008 you must add #define nullptr 0 before class CStack since nullptr was not a standard until 2009.




Similar Threads
Thread Thread Starter Forum Replies Last Post
Security Warning ggiibboo Access 0 January 3rd, 2006 03:11 AM
Warning Message AMP_Engineer BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 4 September 29th, 2004 08:55 PM
Can't get errors to display with <html:errors> michaeldill JSP Basics 0 August 2nd, 2004 01:47 PM
errors and fixing errors Droopy XML 0 August 26th, 2003 12:47 AM
Errors Errors DB Errors Ljhopkins VS.NET 2002/2003 0 July 15th, 2003 12:42 PM





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