CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2000
    Posts
    7

    How to open a file for append??

    Hi!
    I use FileWriter to open a file for writing,but the old data will always be replace when rerun the program...
    How can I open a file for append?
    Any reply will be appreciated.


  2. #2
    Join Date
    Sep 2000
    Posts
    2

    Re: How to open a file for append??

    Hi
    To open file in append mode , u can use this filewriter constructor as below..


    public FileWriter(String fileName,
    boolean append)
    throws IOException








Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured