ofstreamFile << ifstreamFile.rdbuf() fails but file text from file is written to ofstreamFile correctly

前端 未结 0 523
攒了一身酷
攒了一身酷 2020-12-21 02:03
std::ifstream inFile;
std::ofstream outFile;
// ...
outFile << inFile.rdbuf();

I was writing one file into another with rdbuf, everything was

相关标签:
回答
  • 消灭零回复
提交回复
热议问题