2006-02-06, 08:00 PM
my source code as in my java program code? cause my program is extreamly long.... well its a few hundred lines long lol
coding in java
|
2006-02-06, 08:00 PM
my source code as in my java program code? cause my program is extreamly long.... well its a few hundred lines long lol
2006-02-06, 08:33 PM
That's why I said the *relevant* source code, not the entire one. ;) My guess is that you assign the input directly to an integer variable though it gets read as a string. Maybe your Windows JVM automatically converts the input. But show me the source, Luke. :)
2006-02-07, 03:00 AM
here it is the menu part Code: /Main Menu
2006-02-07, 05:52 PM
The data type of your "reader" variable would be interesting, too. I just wrote a small example that *should* work (will test it later, not too much time at the moment): Code: import java.io.*; |
« Next Oldest | Next Newest »
|