This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Reading from a file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Reading from a file" Watch "Reading from a file" New topic
Author

Reading from a file

Audrey Horne
Greenhorn

Joined: Mar 14, 2010
Posts: 1
I am having some problems reading from the input file, but not sure why. I have the file saved in the same folder and named the same (InFile)... and ideas?

Ireneusz Kordal
Ranch Hand

Joined: Jun 21, 2008
Posts: 423
It may help if you say us actually what kind of problems do you have: some type of exception was thrown on some line, file contains string "20" but your code reads "50" or something else ?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Reading from a file
 
Similar Threads
Illegal Start of Expression
Counting in Array List/ Standard deviation
Problems reading from a .txt file
Scanner class help
Need explanations of inheritance