Search:

Type: Posts; User: GigaRoid

Search: Search took 0.00 seconds.

  1. Replies
    13
    Views
    1,732

    I've now read everything I need to in my book to...

    I've now read everything I need to in my book to make this. I understand the game loop, I just need an example of how to use a game loop in my circumstance, which I am pretty sure it doesn't say many...
  2. Replies
    13
    Views
    1,732

    I don't know how to have infinite arguments in a...

    I don't know how to have infinite arguments in a function. The tutorials talked about it, but it didn't make a lot of sense to me.

    I wouldn't need it if I could make a program like this, but with...
  3. Replies
    12
    Views
    1,630

    @manasijamizich: That concept would work best in...

    @manasijamizich: That concept would work best in some sort of game loop. Which is what I'm considering..
    @Elkvis: As was said before, I'm a C++ noob, so I don't really want to go running around with...
  4. Replies
    12
    Views
    1,630

    Apparently that messes things up in my program....

    Apparently that messes things up in my program. Any other way?
  5. Replies
    13
    Views
    1,732

    Got it, an example of that basic structure would...

    Got it, an example of that basic structure would be nice though. From what I understand, it's impossible. But that's just because I understand so little. Would this cover cout waiting for enter each...
  6. Replies
    13
    Views
    1,732

    I was thinking of splitting it up into functions...

    I was thinking of splitting it up into functions later when I could get it to actually work.

    What it's supposed to welcome you to the game, then ask for your name. It confirms the name and starts...
  7. Replies
    13
    Views
    1,732

    What's wrong with my code?

    In the book I'm reading it says for extra practice, to use loops and functions to make an advanced player inventory program. That part I can do, but it says to make user to program commands like in...
  8. Replies
    12
    Views
    1,630

    Okay, the only reason I said that is for the...

    Okay, the only reason I said that is for the whole "<< " thing. But I geuss I'm not making super complex programs yet, so that works. Thanks.
  9. Replies
    12
    Views
    1,630

    @Ooga One reason: neat code = :) @Epy That's...

    @Ooga One reason: neat code = :)
    @Epy That's a great idea, but I only know enough C++ to ask where the bathroom is.
    @iMalc I obviously could, but it would cut off some of iostream's built in...
  10. Replies
    12
    Views
    1,630

    cin.get() every line?

    This might be a stupid question, but is there a way to get a program to wait for enter before every string besides doing this?:


    cout << "this "; cin.get();
    cout << "is "; cin.get();
    cout <<...
  11. Replies
    8
    Views
    1,604

    Looping the avatar?

    Hey, I've seen a few guys on here with animated avatars. I got mine to work. But as you can see, it doesn't loop like many others do. Mine is kind of designed to loop. So is there some special trick...
  12. Replies
    38
    Views
    5,512

    Okay... can everyone just vote on what's the best...

    Okay... can everyone just vote on what's the best way to do this?
  13. Replies
    2
    Views
    1,433

    I have 10 posts. Which means ydrc (you don't...

    I have 10 posts. Which means ydrc (you don't remember correctly).
  14. Replies
    38
    Views
    5,512

    Okay, so since everyone is arguing, I just...

    Okay, so since everyone is arguing, I just blindly choose one of them?
  15. Replies
    38
    Views
    5,512

    I'm not sure if you're understanding... we have 5...

    I'm not sure if you're understanding... we have 5 arguments: smax(5,1,4,8,6). va_arg will keep going on forever, creating an infinite loop, so we have to stop it at the sixth argument. So either it...
  16. Replies
    38
    Views
    5,512

    I know it's possible for a function to know how...

    I know it's possible for a function to know how many arguments there are without user input. To know how many arguments the loop has gone through you just use


    int argnum=1;
    //...
    while...
  17. Replies
    38
    Views
    5,512

    Once again, I have no idea about this at all, so...

    Once again, I have no idea about this at all, so none of this is completely clear to me.

    So how would I check if the number of arguments is reached?
  18. Replies
    38
    Views
    5,512

    What way can I use this that doesn't give 5...

    What way can I use this that doesn't give 5 errors?

    Okay, that makes sense to me, but how do I check if the number of va_arg!=num instead of the value?
  19. Replies
    38
    Views
    5,512

    Sorry, I'm pretty new, and I don't understand how...

    Sorry, I'm pretty new, and I don't understand how to do either of those. If it helps, I am trying to make my own max function. Just knowing how to do it will be useful.


    #include <iostream>...
  20. Replies
    38
    Views
    5,512

    End of a variable argument list

    Noob question: How do you check if you're out of arguments in a variable argument list? I'd like to use it in a loop.
  21. Replies
    2
    Views
    1,433

    Why can't I go to My Profile?

    When I try to click it, the 'My Profile' link at the top of the page it gives my a pop-up that says I don't have access to this page. Is.. this a normal problem, or is it just me? (btw, I'm talking...
  22. Replies
    19
    Views
    11,203

    I've read everything before it. I try to...

    I've read everything before it. I try to understand the lesson fully before I read the next one.
  23. Replies
    19
    Views
    11,203

    Not getting classes

    I've just started learning C++, and I don't really understand classes. I kind of understand what they do, but when it come to actually coding it, I'm lost. Can someone explain basic classes better...
Results 1 to 23 of 23