|
-
Jan 5th, 2002, 06:58 AM
#1
Thread Starter
Member
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
-
Jan 5th, 2002, 12:18 PM
#2
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.
-
Jan 5th, 2002, 12:20 PM
#3
Addicted Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|