I am making a program to automatically hide / unhide files. My system command looks like this:
system("ATTRIB +R +S +H", filename);
where filename is the user's filepath input. Obviously it doesnt work, so I need to know how to get it to enter the variable. thanks in advance