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 ?
|