View Single Post
Old 05-07-2008, 01:09 PM   #4 (permalink)
TheWiseGuy
Firor's Fury
 
TheWiseGuy's Avatar
 
Join Date: Jun 2006
Location: Green Hill Zone
Posts: 2,488
Reputation: 45
MMOFaces Profile: None Yet
Default

Quote:
Originally Posted by TwitcH View Post
a text based MMORPG is normally called a MUD, what you are looking for is a MUD Codebase, you can find alot of them here:

http://www.mudconnect.com/resources/..._Snippets.html

and as for the problem with your code, you are going to need to either run it through the command prompt or try adding

Code:
system("pause");
after the line which prints hello world.

but don't trust me completely on that since i've never touched c++, opening through the command prompt should definately work though.
strange i dont remember ever seeing you around lol craziness


Quote:
Originally Posted by Deceth View Post
You didn't do anything wrong. The reason the screen closed is because it has finished executing your program and so it exits.

It's actually displaying the Hello World then closing really fast.

Your best bet is to run your program through the Command Prompt so that the window does not close after execution. To do this:

Go to start, run, type cmd

You'll then need to navigate to the location of your exe file. Once you are in the correct folder just type name.exe and it will run and display your text!
yep this guys right
__________________

everyones saying it now so ill do the same....WiseGuy for mod 2008!!
TheWiseGuy is offline   Reply With Quote