Jump to content

View more

Image of the Day

Inventory ! Va falloir trouver une autre couleur pour le cadre D: #AzTroScreenshot #screenshotsaturday https://t.co/PvxhGL7cOH
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Java question

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
1 reply to this topic

#1 wizzard   Members   

122

Posted 23 November 1999 - 04:19 PM

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


#2 joeG   Members   

172

Posted 23 November 1999 - 04:19 PM

I believe its
System.in.read()
. My only experience is with the JDK though.
joeG




Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.