|
-
December 11th, 2009, 10:42 PM
#1
Write # bytes to end of file
How would you write, like, 8 bytes to the end of a file then read to see if those 8 bytes exist?
thanks.
-
December 12th, 2009, 02:16 AM
#2
Re: Write # bytes to end of file
Get the filesize in bytes.. then simply use SetFilePointer() API to move the pointer to anywhere you like... after that, do the write operation.
"I studied everything but never topped. Today, toppers of the world's best universities are my employees"
-William Henry Gates (Bill Gates)
-
December 14th, 2009, 02:40 AM
#3
Re: Write # bytes to end of file
can you elaborate an example of that, please?
-
December 14th, 2009, 03:08 AM
#4
Re: Write # bytes to end of file
How would you write, like, 8 bytes to the end of a file then read to see if those 8 bytes exist?
Have you even tried to google ? File handling is in almost every help file/website and is very basic. Here is one...
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
|