0
woodpecker

any java programmers out there?

Recommended Posts

it's been awhile since I programmed and I did C++ but it's close.

You should just be able to insert and if statment
if(keystroke=enter)
{
return(0)
}
something to that effect.
I don't know what you have to put in computer language for the keystroke=enter part though
and I'm not positive about the return(0) part.
YOu get the jest though no?
Skymama's #2 stalker -

Share this post


Link to post
Share on other sites
System.in provides the InputStream you need to read from the console. InputStreamReader provides the bridge to characters from bytes. InputStreamReader.read() will read a single character. It's blocking, so you may also need to use System.in.available().

If this isn't enough info to get you started, PM me.

Share this post


Link to post
Share on other sites
Quote

System.in provides the InputStream you need to read from the console. InputStreamReader provides the bridge to characters from bytes. InputStreamReader.read() will read a single character. It's blocking, so you may also need to use System.in.available().

If this isn't enough info to get you started, PM me.



isn't dave awesome for programming help! :)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

0