XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).
Moderator: General Moderators
LiveFree
Forum Contributor
Posts: 258 Joined: Tue Dec 06, 2005 5:34 pm
Location: W-Town
Post
by LiveFree » Thu Jul 06, 2006 11:17 am
Well, after reading the 'Good Client-Side language to start with' thread above this one, I have decided to jump into the client-side world with JAVA!
I understand the basic principals of Java, but as of so far I can only program command line stuff which does not require user input.
My Question: What packages/classes would I need to use to accept/process user input at the CLI?
Thanks
timvw
DevNet Master
Posts: 4897 Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium
Post
by timvw » Fri Jul 07, 2006 2:26 am
System.in is the standard inputstream... I remember that there are some wrappers/classes that give you a set of 'easy' methods.. eg: getChar, getChars, ...
LiveFree
Forum Contributor
Posts: 258 Joined: Tue Dec 06, 2005 5:34 pm
Location: W-Town
Post
by LiveFree » Fri Jul 07, 2006 9:25 am
Ive decided to use a custom class (TextIO)
Thanks anyway timvw