python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
How to write data in binary form to a file using extract and insert operators in a stream?
Opening a file with fstream:
std::fstream fileStream(obj.path, std::ios::binary | std::ios::in | std::ios::out);
Next, I write data to the file:
fileStream << this->m_path;
fileStream <&l...
Александр Климук
Votes: 0
Answers: 0