std::fstream file; file.open("test.txt",std::ios_base::out); // sets failbit to true if open fails? file << data; // what happens here if !file.is_open()? ...
確定! 回上一頁