Jump to content

  • Log In with Google      Sign In   
  • Create Account


Java question


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   -  Reputation: 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


Sponsor:

#2 joeG   Members   -  Reputation: 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.



PARTNERS