Click here to Skip to main content
15,883,951 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
actually my program runs every time the content again and again add to the txt file content.so i how can solve the problem.


actually i storing the content in .txt file.but i running every same content added to it.

so plz replay as soon as possible.
Posted
Comments
[no name] 21-Nov-14 8:00am    
Please be more clear. I know it is difficult to express yourself clearly but try. I can't undersand you problem

1 solution

When you open the file use the APPEND option, as discussed in https://docs.oracle.com/javase/tutorial/essential/io/file.html#openOptions[^].
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900