• Advertisement

Archived

This topic is now archived and is closed to further replies.

Java question

This topic is 6636 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

When doing a console application in Visual J++ 6.0, how do you make the DOS box stay open so that you can see the output. On my machine, the output box closes as soon as the program finishes and I don't have time to see the output. In C++, you can use getch() but what in Java?

Thanks

Share this post


Link to post
Share on other sites
Advertisement
I believe its
System.in.read()
. My only experience is with the JDK though.
joeG

Share this post


Link to post
Share on other sites

  • Advertisement