阅读背景:

不写入指定文件

来源:互联网 

I am trying to redirect output of stdout and stderr using a file. I am using freopen and it creates the file in the correct directory but the file is blank. When I comment out the code to redirect the stdout and stderr - the output shows up on the console.I am trying to redirect output of stdout and st




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: