1

I need to duplicate a file that I generate using "ofstream". I wanted to know if there is any way without having to do it manually (creating another stream, reading the one I want to copy and writing what it was read) I search for this question in google, but all I could find was something that work in Windows, and I am working with linux

I am kind of new to c++ :)

4

1 回答 1

1

听起来像是一份工作boost::iostreams::tee

于 2013-01-17T21:17:29.177 回答