By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,538 Members | 911 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,538 IT Pros & Developers. It's quick & easy.

Writing to any location in a file stream

P: 3
I am doing an image processing project which requires multiple threads to operate and write to an output file stream... Is is possible by some function to read and write specific locations of a file stream or is everything serial ?
Feb 2 '08 #1
Share this Question
Share on Google+
1 Reply

Expert Mod 5K+
P: 9,197
You can randomly write to any location in a file stream. You just need to position file file cursor at the correct location. Look up fgetpos() and fsetpos().
Feb 2 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.