This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with I/O, writing to a binary file.

Aaron Barrick
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Okay, so I need to write information to a binary file, and while I have my window completely set up and laid out like I want it, when I input the information into the boxes and press write record it does nothing. In our example code, the information is written to an example .dat file and is cleared from the text boxes. Mine does nothing.

Also, I wanted to know how to write a String (in this case the employee name) to my binary .dat file...I can't figure it out for the life of me.

Here's the code I have now:

For good measure, here's the example code:

Thanks for any and all help, and I'm sorry for the long post!

I agree. Here's the link:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic