Can some one tell me two things: How to make a text input like in a MUD, And how to make a DOS program not xit when it goes through the code. Thanks;)
Printable View
Can some one tell me two things: How to make a text input like in a MUD, And how to make a DOS program not xit when it goes through the code. Thanks;)
When you say no exit when it runs thru the code, do you mean the window closes too fast to see the output?
If you use C, put a scanf at the end that waits for you to hit a key, and flush it out...
or you can use a system("PAUSE"); with the stdlib.h, or getch(); with the conio.h
Mike
system() functions need stdlib.h? I didn't know that, are you sure?