Monday, May 24, 2010

Why doesn't this work in C++(gcc)?

std::vector%26lt;std::vector%26lt;std::vector%26lt;int%26gt; %26gt; %26gt; lookupTable(MAP_SIZE/GRID_SIZE, std::vector%26lt;std::vector%26lt;int%26gt; %26gt; (MAP_SIZE/GRID_SIZE, std::vector%26lt;int%26gt; (360,0)));








this gives an error:





globalData.h:41: error: expected identifier before numeric constant


globalData.h:41: error: expected ‘,’ or ‘...’ before numeric constant

Why doesn't this work in C++(gcc)?
i think u have to check all tha variable identifier


before those 2 statement..


i've noticed that these are constructor it require some identifier word in the top of programe . check it too


good luck

song titles

No comments:

Post a Comment