![]() |
|
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Newbie
|
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(); |
|
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
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 |