optiontips.in

class CPop
{
CBSVector<CTour> pop;
CBSVector<double> probability;
int popsize;
double TotalFitness;
CTour Elite;
CTspGAParams GAParameters;
}

error C2059: syntax error : 'constant'
error C2238: unexpected token(s) preceding ';'
i dont know y these errors, it runs fine in simple c++ environment
You need the #include for all those classes (CBSVector, CTour, etc)

A ; is missing at the end of the declaration of the class CPop
Topic archived. No new replies allowed.