orenw
asked on
Shareing Files in C++
how can i make file share in c++ fstream?
and not be the _FSOPEN or SOPEN.
and not be the _FSOPEN or SOPEN.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
filebuf::openprot, which is equivalent to the operating system default, filebuf::sh_compat, under MS-DOS. The possible nProt values are as follows:
filebuf::sh_compat Compa
filebuf::sh_none Exclusi
filebuf::sh_read Read sharing allowed.
filebuf::sh_write Write sharing allowed.
let me know if this solves what you're asking