S
stef
Anyone have any guesses as to why I am getting an error message when I try
to compile:
In file included from CP.h:13,from driver.cpp:5:
cb.h:33: invalid data member initialization
cb.h:33: (use `=' to initialize static data members)
*** Error code 1
make: Fatal error: Command failed for target `driver.o'
line 33 is :
HT<string, s1, s2> db(MAX); // constructor
to compile:
In file included from CP.h:13,from driver.cpp:5:
cb.h:33: invalid data member initialization
cb.h:33: (use `=' to initialize static data members)
*** Error code 1
make: Fatal error: Command failed for target `driver.o'
line 33 is :
HT<string, s1, s2> db(MAX); // constructor