0

In unix if you create and open a file by using 9 digits numbers in the open function it seems to work but in C++ you only don't have a parameter to do that rather you have ios_base. Just wondering if there are owner,group and world settings that can be set on a file when it is created in C++?

2
Contributors
2
Replies
4
Views
7 Years
Discussion Span
Last Post by lotrsimp12345
0

File permissions are platform specific, so you only get access to them using platform specific APIs.

0

that's what i thought. thanks for help. Sorry for all the questions teacher doesn't really explain anything about file structures and the book we are using is super old. .

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.