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 Maulin, problem with file write 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 "Maulin, problem with file write" Watch "Maulin, problem with file write" New topic
Author

Maulin, problem with file write

Gabriel White
Ranch Hand

Joined: Mar 02, 2003
Posts: 233
Hey Maulin. That info you gave me before worked great. It's amazing that my code was so close, but it didn't work. Well you know what they say, its not the elephants that kill you...its the ants.
Anyway, same program, same code from before, now I just want to write out the students names. I thought I could tackle this one by myself(who knows maybe I will) The student names are to be written out to a filename. I used studentout.dat Here is my code. Im not including my main method, because it just calls these methods.
Thanks in advance
Steve

Im unclear about this scan loop. Who knows, maybe Im close.
[ April 27, 2003: Message edited by: Steve Wysocki ]
Gabriel White
Ranch Hand

Joined: Mar 02, 2003
Posts: 233
Never mind...I told you I would figure it out.
Stupid mistake anyway.
here is how my code turned out
Thanks anyway Maulin.
SW
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Maulin, problem with file write
 
Similar Threads
Mergesort referencing Comparable objects
close() method; I/O class chaining
Buffered Writer problem
Printing Text file in Java
help with code (inputstream)..... ?