Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

 
 
Thread Tools Display Modes
Prev Previous Post in Thread   Next Post in Thread Next
Old Oct 29th, 2007, 10:26 PM   #1
truBlu
Newbie
 
Join Date: Sep 2007
Location: New Jersey
Posts: 13
Rep Power: 0 truBlu is on a distinguished road
Send a message via MSN to truBlu
Buffered input?

Do I need the following lines of code when I want to input whole lines of text? If so, why do I need them? I found this code on the internet but I'm unsure of the purpose behind it. I tried google searching for the answer but came up short.

InputStreamReader converter = new InputStreamReader(System.in);
BufferedReader input = new BufferedReader(converter);            
String word = input.readLine();
truBlu is offline   Reply With Quote
 

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Clearing the input box 357mag Java 5 Nov 1st, 2007 9:28 PM
Reading character input into an array (raw mode) shoeyfighter C 3 Nov 2nd, 2006 3:49 PM
User input jayme C++ 38 Nov 25th, 2005 7:27 PM
Checking form input Jerry Java 1 Oct 31st, 2005 8:41 AM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 3:21 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC