I am not sure but i think the '/' to open a file when it is in a folder!!
So if you have a folder named DATA and you want to open a file from that folder
You can do it like that in c++:
ifstream openfile;
openfile.open("DATA/filename");
openfile.close();