|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (11 bit)
Join Date: Aug 2003
Location: Silicon Valley
Posts: 1,512
|
java questions
working for a project for my compsci class, and the other kids in my group decided to make it uneccessarily difficult by adding user input. they dont really know what theyre doing, so they just take code off the web and try putting it in the program and its not really working.
the goal of the first portion of the project is to take input of 10 strings from the user then put them into an arraylist. the input is the hard part for me. first of all, i have no idea how to get this input to work, everything im trying is failing miserably, there are errors all over, etc. I hate using input because its never required for the course and i can never get it to work correctly, but anyway, i have anohter problem besides that. It seems like the bufferedReader thing in java is made to input strings, is there a way to cast these to ints? i need to be able to cast the strings to ints, my teacher said not to worry about the fact that the user might input characters instead...
__________________
Desktop: Intel Core i7 930 @ 4.0 GHz | Sapphire HD 6850 | Asus P6X58D Premium | Vertex 2 120GB | 12GB OCZ DDR3 | Notebook: 13" Macbook Pro | 2.26GHz C2D | 4GB Mushkin DDR3 | Nvidia 9400M | 500GB Scorpio Blue | OS X Lion | File Server: Intel Atom N330 | Zotac ION G-E | 4GB Corsair XMS2 | 3 x 2TB Caviar Green | |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Computer Acronyms | Floppyman | Computer Hardware | 156 | 06-18-2006 06:25 AM |
| couple questions about java! | inflames988 | Web Design / Development | 2 | 04-15-2006 03:52 PM |
| Java making my computer freeze | BustaRomeo | Windows Legacy Support (XP and earlier) | 2 | 08-09-2005 07:28 AM |
| Java script works but java applets won't | lexi | Windows Legacy Support (XP and earlier) | 13 | 09-14-2003 07:11 AM |
| Microsoft Wins Stay on Order to Add Java | morriswindgate | General Discussion | 7 | 02-05-2003 09:34 AM |