It works if I do:
But not if I do...Code:int main() { Filename = "test.txt"; //Load the program PC = AbsoluteLoader(Filename); return 0; }
I'm getting unable to open file error.Code:int main() { cout << "What is the program to run?"; cout << endl << endl; cin >> Filename; //Load the program PC = AbsoluteLoader(Filename); return 0; }