i guess C++ is always the best source of problems, when you don't have any..
i've finished my polygon classes, after checking examples and several idea.
i'm trying to make now a polygon manager class which will handle all polygons in the world, and have two vectors: one for all of them, and one only for the current view (it's kind of like 3D space partitioning).
but, i'm having a problem right at the beginning. I don't get it what am i doing wrong:
throws meCode:class PolyMan { PolyMan(); std::vector<Poly> plist; };
where 28 is the line where i'm declaring plist.Code:In file included from Lesson1.cpp:16: polym.h:28: error: using-declaration for non-member at class scope make.exe: *** [Lesson1.o] Error 1 Execution terminated
what is it wrong?



LinkBack URL
About LinkBacks




CornedBee