Search:

Type: Posts; User: r0bbb

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    1,459

    amazing, thank you very much

    amazing, thank you very much
  2. Replies
    2
    Views
    1,459

    vectors, declaring and initialising

    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,...
  3. Replies
    4
    Views
    1,282

    ive now tryed the whole thing using a 2d array...

    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...
  4. Replies
    4
    Views
    1,282

    when i copy the object i get the same error, so...

    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?
  5. Replies
    4
    Views
    1,282

    problem with sdl and vectors

    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...
  6. Replies
    4
    Views
    1,801

    daveds method worked, thanks a lot! the reason i...

    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
  7. Replies
    4
    Views
    1,801

    multi dimensional vectors

    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...
  8. Thread: passing objects

    by r0bbb
    Replies
    3
    Views
    1,165

    cheers for your help guys, thats some very useful...

    cheers for your help guys, thats some very useful information.

    thanks.

    rob
  9. Thread: passing objects

    by r0bbb
    Replies
    3
    Views
    1,165

    passing objects

    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...
Results 1 to 9 of 9