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::openprot
The old ofstream constructor (<fstream.h>) accepts a third parameter (int
nProt = filebuf::openprot)
i.e. ofstream( const char* szName, int nMode = ios::out, int nProt =
filebuf::openprot );
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