Search:

Type: Posts; User: Comrade_Yeti

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    16
    Views
    1,531

    Vector, that's what I was looking for. Thanks...

    Vector, that's what I was looking for. Thanks very much
  2. Replies
    16
    Views
    1,531

    Thanks. I think I understand pointers more now......

    Thanks. I think I understand pointers more now... Specifically referencing and such. Curious, again, if you passed an array to a pointer declared in a function, and then called a member of an array...
  3. Replies
    16
    Views
    1,531

    Oh, ok, I see. When you dereference a pointer,...

    Oh, ok, I see. When you dereference a pointer, you get the data at the address held by the pointer (done by using *). When you use &, you directly refer to the address, which is stored in the...
  4. Replies
    16
    Views
    1,531

    P.S. Thanks to everyone for the replies, despite...

    P.S. Thanks to everyone for the replies, despite my utter blond-ness. '^.^
  5. Replies
    16
    Views
    1,531

    TO 7stud: Ahh... I always get * and &...

    TO 7stud:

    Ahh... I always get * and & confused. If I had passed a pointer, and wanted to refer to the data at the address held by the pointer, I would use &, right? Oh, and just removing the...
  6. Replies
    16
    Views
    1,531

    Now I'm confused... I thought that you needed...

    Now I'm confused... I thought that you needed that to point to the data held by the variable passed to it...? Sorry, I natively program on Pascal and BASIC, kinda' new to C++. Thanks, by the way....
  7. Replies
    38
    Views
    2,387

    It seems like the definition of modular...

    It seems like the definition of modular programming is and issue of semantics. Honestly, all I can say is that breaking your code into smaller, psuedo-independent chunks is definitly necessary for a...
  8. Replies
    16
    Views
    1,531

    Thanks for the reply. I was wondering if it might...

    Thanks for the reply. I was wondering if it might have anything do with something preceding it in the code, but everything else seems to work fine (I took out the prior functions, one by one, to see...
  9. Replies
    16
    Views
    1,531

    String Addition Problem...

    I'm trying to add two variables (both strings) in Dev-C++, and it tells me that there's no matching operator+. Every tutorial and example I've found on the net says that the syntax I'm using is just...
  10. Ohhh, I totally overlooked that... :P. I see what...

    Ohhh, I totally overlooked that... :P. I see what you're saying. I'll try google or something. Thanks for the replies.
  11. I meant, "turn the offset of the camera, in...

    I meant, "turn the offset of the camera, in pixels, into tile units (i.e. 20x20 squares, in my case)..."
  12. I don't understand your first statement at all......

    I don't understand your first statement at all... I thought it would run until x was equal to Offset_X plus the screen dimension at hand, divided by the width of the boards tiles.

    As for the...
  13. Replies
    0
    Views
    844

    A Quick Vector Question...

    If you typedef an embeded vector (vector<vector<int>>, if that's even proper syntax), how do you use it afterward? Like,



    typedef vector<vector<int>> MapVect;

    MapVect Board(x,y);

    ...
  14. I'm not sure what that gap is from... ?

    I'm not sure what that gap is from... ?
  15. Ok... I applied the same method noted above (the...

    Ok... I applied the same method noted above (the for loops), modified slightly, to an SDL blitting operation. When I ran it, it displayed nothing, and stopped responding. So I added a little printf...
  16. Well... I was using a For loop to redraw it every...

    Well... I was using a For loop to redraw it every frame, because it's suppose to move when the mouse get's near the edge of the screen (like scrolling). But it froze when I tried it my way, so I...
  17. A Little Performance Related SDL Question...

    If one were to make a grid on the screen by using the SGE LineAlpha function, and redraw it every frame, that would be really slow wouldn't it?
  18. Replies
    8
    Views
    3,060

    I revamped the code (a lot), and now it opens and...

    I revamped the code (a lot), and now it opens and loads the model (and texture), but won't display anything or recognize key strokes. It's only 171 lines now though.



    // Abiotica- Zero G
    //...
  19. Replies
    8
    Views
    3,060

    I added that and it still does the same thing......

    I added that and it still does the same thing... :(. I'll post it over at Irrlicht too, I suppose. Thanks for the replies (again, :P).
  20. Replies
    8
    Views
    3,060

    Oh, and every other time I do it (which greatly...

    Oh, and every other time I do it (which greatly confuses me), it tells me I have an Access Violation (Segmentation Fault). But only every other time...

    Also, in the video mode choice function, it...
  21. Replies
    8
    Views
    3,060

    Thanks for the replies. I didn't have the...

    Thanks for the replies. I didn't have the graphics in the right folder, but when I put them there (and double checked the paths) it still does the same thing. When I debugged it, it told me it can't...
  22. Replies
    8
    Views
    3,060

    Unknown Irrlicht Error

    I have about 223 lines of code that, when compiled, produce no errors, but when ran, freezes for a moment, and then windows asks me if I want to send the error (that it won't identify) to their help...
  23. Replies
    2
    Views
    1,843

    Thanks... Feel kinda foolish (seeing as you just...

    Thanks... Feel kinda foolish (seeing as you just googled it and all), :P.
  24. Replies
    2
    Views
    1,843

    SDL palette question...

    I understand how palette manipulation in SDL is done (through the SDL_Color structure and all), but I have one problem: I want to load a 256 color palette ( preferably in .pal format, though I could...
  25. Elad, do you mean instead of using static arrays...

    Elad, do you mean instead of using static arrays as member variables, use vectors (or lists or whatever) as the member variables, and then have a plain int member variable to denote how many...
Results 1 to 25 of 31
Page 1 of 2 1 2