How do you change the attribute of a file?

I'm using windows..... can't find nothing on google.

also how can I delete & remove a file, without using a system call....

thanks
Last edited on
SetFileAttributes() to set file attributes, DeleteFile() to delete a file.
DeleteFile() to delete a file.
Without using a system call.

http://www.cplusplus.com/reference/clibrary/cstdio/remove/

Setting file attributes is necessarily system dependent. You can't do it without system calls.
alright so and how do I use it?
Topic archived. No new replies allowed.