Jump to content

View more

Image of the Day

The night is still, but the invasion brings chaos. #screenshotsaturday #hanako #indiegame #gameart #ue4 #samurai https://t.co/cgILXuokoS
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] VJ++ console output wont stay open

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
3 replies to this topic

#1 Possibility   Members   

122
Like
Likes
Like

Posted 01 October 2000 - 01:01 PM

Hey, I have been programming with VC++ for a long time now, but i just started a java course and I am trying to use VJ++, and got code working and everything, but when i go to run it, its a console app, and brings up the dos command shell and spits out my output and then the console disapears. The whole console window is only open for a fraction of second, i know in VC++ there is an option to keep the window so i can see my ouput, but for the life of me i cant find this option in VJ++ Can anyone help me please!!!!!!!!!!!!!!!!!!!!! Possibility

#2 ARCHIGAMER   Members   

122
Like
Likes
Like

Posted 01 October 2000 - 02:14 PM

add this code to the end of the main section

try {
System.in.read();
} catch(Exception e) {}

I wish there was a button on my monitor to turn up the intellegince.
Theres a button called 'brightness' but it doesn't work

#3 ARCHIGAMER   Members   

122
Like
Likes
Like

Posted 01 October 2000 - 10:28 PM

oh yeah just hit any key to close the console after

I wish there was a button on my monitor to turn up the intellegince.
Theres a button called 'brightness' but it doesn't work

#4 Possibility   Members   

122
Like
Likes
Like

Posted 02 October 2000 - 11:51 AM

Thanks, that worked pretty well.

Possibility




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.