Results 1 to 3 of 3

Thread: Ask help, one function

  1. #1

    Thread Starter
    Member
    Join Date
    Nov 2001
    Location
    Australia, Syndney
    Posts
    37

    Ask help, one function

    Does anyone know of a function that cleans out a file, as fwrite() only adds to it. Thanks
    ______________________________
    goto www.gaminghc.com very soon

  2. #2
    scoutt
    Guest
    oh you want to clean out a file then add stuff to it, not append it?

    I think fwrite() is you're only choice. or you can delete the file than have fwrite() make a new one. either way you will nee to have a couple of lines instead of one function.

  3. #3
    Addicted Member
    Join Date
    Aug 2001
    Posts
    158
    Can't you just open for output then close?

    Everso

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