Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Visual C++ 2005 For discussion of Visual C++ 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the 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
  #1 (permalink)  
Old November 2nd, 2007, 10:00 AM
Registered User
 
Join Date: Feb 2005
Location: , , .
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default ex8_07.cpp compile error

compilation error in ex8_07.cpp
under linux
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 ?


  #2 (permalink)  
Old November 2nd, 2007, 10:01 AM
Registered User
 
Join Date: Feb 2005
Location: , , .
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

the example is from beginning Visual C++ 2005



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error linker (LNK2001)TrialRun.cpp KAZTYX BOOK: Beginning Visual C++ 6 3 March 5th, 2010 10:59 AM
Compile error: Syntax error: & Else without HELP Corey VB How-To 2 April 21st, 2006 03:25 PM
Compile error johnkruse Access VBA 3 June 16th, 2004 05:06 PM
Compile Error: Michael Gavel BOOK: Beginning Access VBA 2 January 20th, 2004 11:36 AM
Compile Error aglatfel Access VBA 2 January 13th, 2004 04:01 PM





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