Wrox Programmer Forums
|
BOOK: Ivor Horton's Beginning Visual C++ 2005
This is the forum to discuss the Wrox book Ivor Horton's Beginning Visual C++ 2005 by Ivor Horton; ISBN: 9780764571978
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Ivor Horton's Beginning Visual C++ 2005 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 November 2nd, 2007, 11:20 AM
Registered User
 
Join Date: Feb 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default compilation error on linux

 compilation error in ex8_07.cpp
under linux using gcc 3.4.6

Ex8_07.cpp: In function `int main()':
Ex8_07.cpp:118: error: expected primary-expression before ')' token

the line 118 is :

// Create the CSamples object to hold CBox objects
  CSamples<CBox> myBoxes( boxes, sizeof boxes/sizeof CBox);

anyone with the same problem ?

 
Old November 5th, 2007, 12:37 PM
Registered User
 
Join Date: Feb 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

it s OK on visual C++ 2005
humm
the use of template may differ with gcc compiler






Similar Threads
Thread Thread Starter Forum Replies Last Post
Compilation Error darkestangel1980 ASP.NET 2.0 Basics 0 February 4th, 2008 05:46 AM
Compilation Error furqanms Pro Java 2 September 28th, 2007 11:22 AM
Compilation Error jotnarta JSP Basics 1 March 23rd, 2007 07:14 AM
linux kernel compilation problem abhishekshrivastav Linux 4 October 13th, 2006 06:47 AM
Compilation Error Ophir Classic ASP Basics 1 June 3rd, 2004 01:05 PM





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