Quote:Original post by Anonymous Poster
I posted a working example of a 3d array and a 3d vector there, and there are also some great comments in other posts.
Erm his not trying to make any kind of multidimensional array.
Quote:Original post by Anonymous Poster
I posted a working example of a 3d array and a 3d vector there, and there are also some great comments in other posts.
Quote:Original post by snk_kid
Erm his not trying to make any kind of multidimensional array.
Quote:Original post by evanofsky
Okay, I tried using an std::vector, and it still doesn't work:for(int i = 0; i < num_objects; i++) { Object* object; Init_Object(&object); list.push_back(object);}list->DoSomething(); // crashes