QString FPath = "C:/Documents and Settings/wrightc/Desktop/TESTS/PBP001TEST.txt";
ifstream fin;
fin.open(FPath.toStdString().c_str(),ios::in|ios:: binary);
if (fin.fail())
{
}
That is my code to open the file for reading with the code inside the if statement ommitted, basically just outputs an error message and returns. I am so confused as to why it wouldn't be working because I am using the exact same code in another function in this class and it opens the file with no problems.
While debugging some weird linker messages are being outputted but I can't make anything of them
can't find linker symbol for virtual table for `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep' value
found `QPointer<QTextDocument>::~QPointer()' instead
Bookmarks