Originally posted by BobTheSlob:
Heres the deal -

I have looked through my 1100 page Java book, downloaded a very large Java book, and looked around the internet, and I cant find anything that even resembles "cin" in Java. Does it exist? Or are you only supposed to have input via some kind of window?

It's very hard going through a Java book without some kind of program you want to make as your goal, and, you can't make much of a program without user input

Your in for a wild one. There is no cin type of method in java. Every I/O operation is done with the java.io package. There is a class for byte I/O and character I/O. The byte I/O classes use the java.io.InputStream and java.io.OutputStream classes. The character I/O classes use the java.io.Reader and java.io.Writer classes. Its a rather complex process when your using these classes for the first time. When using the derived classes, from the ones above, its good to put them in a buffer.

If you'd like I have this GUI program that you can have, i'll have to email it to you though. Its about 10 files long. I've placed all my classes in seperate files. I always learn more from example source than anything. Email me at [email protected] if you'd like to have it.


------------------
- jeste®

How could tomorrow ever follow today?

[This message has been edited by jester (edited January 08, 2001).]