I like bean66's suggestion, but after googleing a little I feel it's a bit above my level. Therefore I'll try to stick with keeping the file open throughout the program. If I can't get that to work then I guess I'll have to look into locking the file...
I am performing both reading and writing operations on the file frequently, but I need to keep the file open to restrict its access. Am I right in thinking that freopen() would do the job perfectly?



LinkBack URL
About LinkBacks




