I have been having trouble with opening files with ifstream
if I do:
ifstream myfile;
myfile.open("C:/Users/build/windows/Debug/map1.xml");
it works fine, but if I do a relative path (the executable is in Debug/)
ifstream myfile;
myfile.open("map1.xml");
It will not find the file. Any help? Am I missing something silly?