--------------------Configuration: 5 - Win32 Debug--------------------
Compiling...
5.cpp
C:\5\5.cpp(160) : fatal error C1075: end of file found before the left brace '{' at 'C:\5\5.cpp(145)' was matched
Error executing cl.exe.
hey Dacster13 ,,
i did wt u told me to do ,, but it get more complicated now,,,,
Compiling...
5.cpp
C:\5\5.cpp(117) : error C2955: 'Q' : use of class template requires template argument list
C:\5\5.cpp(37) : see declaration of 'Q'
C:\5\5.cpp(123) : see reference to class template instantiation 'exQ<T>' being compiled
C:\5\5.cpp(121) : error C2143: syntax error : missing ';' before '&'
C:\5\5.cpp(123) : see reference to class template instantiation 'exQ<T>' being compiled
C:\5\5.cpp(121) : error C2501: 'retrieve' : missing storage-class or type specifiers
C:\5\5.cpp(123) : see reference to class template instantiation 'exQ<T>' being compiled
C:\5\5.cpp(145) : error C2143: syntax error : missing ';' before '&'
C:\5\5.cpp(145) : error C2350: 'exQ<T>::serve' is not a static member
C:\5\5.cpp(145) : error C2059: syntax error : ';'
C:\5\5.cpp(145) : error C2061: syntax error : identifier 'T'
Error executing cl.exe.
5.exe - 7 error(s), 0 warning(s)
i think theres sth wrong with the inhertance coz it's of the kind template