Wrox Programmer Forums
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 April 12th, 2011, 05:20 PM
Registered User
Join Date: Apr 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Error in Ex10_06

I am unable to compile Ex10_06, the compiler does not recognize the use of greater<double> at the end of the program beginning with:


I copied the code directly out of the book so I didn't mistype and I tried a smaller program using the functional header that has greater and that works. Is anybody else having this problem?


Update: Okay, mystery solved. The sample code I downloaded did not have the statement

using std::greater;

in the beginning. Could also have simply put "using namespace std;"

Last edited by dpantale; April 13th, 2011 at 10:59 AM.. Reason: Resolved problem

Similar Threads
Thread Thread Starter Forum Replies Last Post
error parsing attribute 'page' & compilation error AlexW BOOK: Beginning ASP.NET 4 : in C# and VB 4 February 25th, 2011 05:01 PM
HTTP error 500: Internal Server Error in Load Testing sherin Visual Studio 2008 0 May 19th, 2010 09:02 AM
Getting error XML Parsing Error: junk after document element anarleti XSLT 10 March 17th, 2010 08:43 AM
Insert Query Error & Run-Time Error 3022 DavidWE Access 1 July 31st, 2008 11:17 AM
Ch 4: Parse error: syntax error, unexpected T_SL hanizar77 BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 0 June 23rd, 2008 09:17 PM

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