Hi all,
fstream filestr ("test.txt", fstream::in | fstream::out);
Plz confirm me about the permission on "test.txt".
it will be '777' by default ..am i thinking correct.?
Hi all,
fstream filestr ("test.txt", fstream::in | fstream::out);
Plz confirm me about the permission on "test.txt".
it will be '777' by default ..am i thinking correct.?
Doesn't that rather depend on your operating system?
And if that OS is a Unix/Linux type system, the current setting of your umask.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.