A
Avner
I have a C++ code which I want to upgrade to the standard C++
The code constructs a file and sets the file permission
The new iostream library does not include filebuf:
penprot
The old ofstream constructor (<fstream.h>) accepts a third parameter (int
nProt = filebuf:
penprot)
i.e. ofstream( const char* szName, int nMode = ios:
ut, int nProt =
filebuf:
penprot );
but the standard ofstream constructor (<fstream>) does not accept the third
parameter anymore.
How do I preserve the functionality to set the file permission?
Thanks,
Avner
The code constructs a file and sets the file permission
The new iostream library does not include filebuf:
The old ofstream constructor (<fstream.h>) accepts a third parameter (int
nProt = filebuf:
i.e. ofstream( const char* szName, int nMode = ios:
filebuf:
but the standard ofstream constructor (<fstream>) does not accept the third
parameter anymore.
How do I preserve the functionality to set the file permission?
Thanks,
Avner