Store the path of the filename in a std::string inside your TempFile class. Write your destructor like this: Code: // file = ofstream object ...
確定! 回上一頁