File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Maulin, problem with file write" Watch "Maulin, problem with file write" New topic

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

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.
I agree. Here's the link:
subject: Maulin, problem with file write
It's not a secret anymore!