If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register or Login
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Re: Create read-only file using c++

Originally Posted by GCDEF

The fact that you don't understand the solution doesn't change the fact that just changing the attributes does nothing to solve your problem.

I suppose if he just needs it to prevent accidental deletion, it solves his problem. He never really explained why he needed it read only. If it's part of a homework assignment for example, it might be enough that he did it. If it's a pointy-haired boss making random demands, then again it might be enough. If he has a real need for security... not so much.

Re: Create read-only file using c++

Originally Posted by Ankheg

I suppose if he just needs it to prevent accidental deletion, it solves his problem. He never really explained why he needed it read only. If it's part of a homework assignment for example, it might be enough that he did it. If it's a pointy-haired boss making random demands, then again it might be enough. If he has a real need for security... not so much.