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...
Type: Posts; User: enderbean719
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...
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...
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...
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??...
Thanks!
The fromfile.clear() worked!
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...
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],...
Thanks man! It worked!
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...