With the string is, I open a text file with "is.open(AMatrix.txt").
When I run
if(is.is_open())
cout << "Open Successful." << '\n';
else
cout << "File not found." << '\n';
It always returns "File not found.
This is even when I specify the target file path.
When I run
if(is.is_open())
cout << "Open Successful." << '\n';
else
cout << "File not found." << '\n';
It always returns "File not found.
This is even when I specify the target file path.