Results 1 to 4 of 4
Thread: Updating a text file
- 11-29-2011, 04:17 PM #1
Member
- Join Date
- Nov 2011
- Posts
- 9
- Rep Power
- 0
Updating a text file
Hi everyone!
I want to develop a program that writes a number to the file in an ordered manner. For example: I've got a file with the numbers 3 4 7 and I want to add 5.
My program has to find its correct order and add it to the file.
How can I achieve that? If possible give a source code...
Thanks in advance.
- 11-29-2011, 04:26 PM #2
Re: Updating a text file
That is absolutely not how this works. We aren't going to do your work for you. What have you tried so far? Where are you stuck? If you want help, ask a specific question and post an SSCCE that demonstrates the problem.
How to Ask Questions the Smart Way
Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!
- 11-29-2011, 04:33 PM #3
Member
- Join Date
- Nov 2011
- Posts
- 9
- Rep Power
- 0
Re: Updating a text file
I know how to write/read a data to/from a file. My problem is that I can't modify and make an ordered input to the file. Whenever I try to write some data I'm loosing all previous data.
- 11-29-2011, 05:56 PM #4
Member
- Join Date
- Nov 2011
- Posts
- 9
- Rep Power
- 0
Similar Threads
-
Want to know about simultaneously drawing graphics in canvas and updating text inside
By ravi.joshi53 in forum Java AppletsReplies: 2Last Post: 10-27-2011, 11:34 AM -
Want to know about simultaneously drawing graphics in canvas and updating text inside
By ravi.joshi53 in forum Java AppletsReplies: 1Last Post: 10-26-2011, 07:03 PM -
Updating text displayed in a Swing Application
By Fubarable in forum AWT / SwingReplies: 1Last Post: 09-16-2011, 05:31 AM -
Updating a .jar File
By Kyx in forum New To JavaReplies: 3Last Post: 08-20-2010, 03:20 AM -
updating a text field basing on a dropdown list choice
By amar4java in forum JavaServer Pages (JSP) and JSTLReplies: 1Last Post: 03-13-2009, 10:26 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks