Closed paulocoutinhox closed 3 years ago
Hi,
How to write to file?
On Poco i do for normal content:
Poco::FileOutputStream stream(path, std::ios::out | std::ios::binary | std::ios::trunc); stream << content; stream.close();
And on binary file:
Poco::FileOutputStream stream(path, std::ios::in | std::ios::binary); for (auto &data : content) { stream << data; } stream.close();
Thanks for this great library!
I see that filesystem don't manipulate files, but only paths.
Answer here how to mix it:
https://stackoverflow.com/questions/36775493/create-file-with-filesystem-c-library
Thanks.
Hi,
How to write to file?
On Poco i do for normal content:
And on binary file:
Thanks for this great library!