Im trying to open up a file to read in data. The code worked great when the file was in the same folder as the program. The problem is that I want the files to be in a sub-folder called "Data". ive tried adding in the folder name but it just returns a failure to open file message
load.open("\\Data\\pword.pwd", ios::in); //open file
cout<<endl<<"File Open Failed!";
the bit in Bold is the code ive added to try and make it look in the sub folder but it isnt happy!
Any ideas what ive done wrong?