amazing, thank you very much
Type: Posts; User: r0bbb
amazing, thank you very much
Hi i would like to know how to declare a multi dimensional vector and then later initialize its size.
normally id declare and init a vector like :
vector< vector<Tile> > tiles(50,...
ive now tryed the whole thing using a 2d array instead of a vector of vectors, and it works!
*NEW PROBLEM*
i need the array to be dynamicaly sized. any ideas how to do this, or how to fix the...
when i copy the object i get the same error, so this would suggest some problem with the initialization of the object? just cant see what, any ideas?
hi im having a problem when i call a function for an object in a vector. when i call the objects function when its not in the vector, it works fine, but if i call it in the vector i get an sdl error...
daveds method worked, thanks a lot! the reason i dont call init in the constructor is because i want to check whats returned.
cheers for all ur help
rob
Hi i was wondering if it was possible to set a specific value in a vector. ill explain what i mean in arrays, if you could please show me the vector equivelent.
first i declare my...
cheers for your help guys, thats some very useful information.
thanks.
rob
Hi im fairly new to oo programming, and ive started working on a little isometric game in c++ using sdl. i have a question about the alternatives to using global variables. heres my problem.
I...