Search:

Type: Posts; User: enderbean719

Search: Search took 0.01 seconds.

  1. Replies
    13
    Views
    1,761

    good method

    system("cls");

    Advantages: None really.

    Disadvantages: Spawns a process to do the dirty work for you.
    It's bad for security reasons.
    For example, someone could map cls to another...
  2. Replies
    3
    Views
    1,151

    --

    Thanks for the info on passwords.

    When I said a "text-based" game, I meant that the gameplay was oriented around typed commands.

    What i am worried about is that graphics would dominate the...
  3. Replies
    9
    Views
    1,089

    Infinite loop

    for (;;)


    This is just a way to do an infinite loop.

    It has no variables, conditions, or increments.
    The reason he made it an infinite loop was because he had an embedded condition with...
  4. Replies
    3
    Views
    1,151

    Password font & images

    Hi. If you don't already know, I am coding a text based game in c++.

    I have two questions...

    1. For entering passwords, how do I make the text apear to be **** instead of the actual password??...
  5. Replies
    12
    Views
    2,033

    Thanks.

    Thanks!

    The fromfile.clear() worked!
  6. Replies
    12
    Views
    2,033

    Incorrect loading

    Thanks for the help jafet.
    The is_open() seems to work fine, but I couldn't figure out what to do with good().


    Here is the problem:

    When I type the correct file name at the first cin, it...
  7. Replies
    12
    Views
    2,033

    Loading

    Now I am trying to load the Character. I have it ask the user what name to load, but it still loads if the name is incorrect.

    How do I error check the name of the file?



    string Ystr[2],...
  8. Replies
    12
    Views
    2,033

    It worked!

    Thanks man! It worked!
  9. Replies
    12
    Views
    2,033

    C++ file names

    Hi.

    I am making a text based rpg game (in C++) and am trying to get the game to save and load different characters.

    Character is a class I defined. Basically, I have all of the class's data...
Results 1 to 9 of 9