#include <iostream>
#include <fstream>
namespace std;    
   4:  
int main(){
   6: ofstream out;
,ios::app);
   8: streambuf *backup = clog.rdbuf();
   9: clog.rdbuf(out.rdbuf());
<<endl;
  11: out.close();
//必须重定向回来
  13:  
  14: }

相关文章:

  • 2022-02-10
  • 2022-12-23
  • 2021-10-29
  • 2021-11-27
  • 2021-11-27
  • 2021-11-20
  • 2021-07-12
  • 2021-08-09
猜你喜欢
  • 2021-09-09
  • 2021-11-13
  • 2021-11-23
  • 2022-12-23
  • 2022-12-23
  • 2022-03-08
相关资源
相似解决方案