Hi...
I have reconstruct the Celestia project for VSC++ 6.0 and I got problems with templates... :
for example in starbrowser.cpp :
template<class Pred> static vector<const Star*>*
give me :
error C2143: syntax error : missing ';' before '<'
error C2059: syntax error : ';'
error C2143: syntax error : missing ';' before '<'
in the same kind of things in starbrowser.h :
vector <const Star*>* listStars(unsigned int);
give me :
error C2143: syntax error : missing ';' before '<'
error C2501: 'vector' : missing storage-class or type specifiers
error C2059: syntax error : '<'
error C2238: unexpected token(s) preceding ';'
I'm not good with templates so could you explain me !
Thanx and @+