[英]Finding the Output file in CodeBlocks
I wanted to know where the output of CodeBlocks is located (ie whatever information is shown in the Debugger Window.) And also i wanted to export this output file to a text or xml or an html file. 有人可以建议如何执行此过程。
我猜你正在 c++ 中搜索freopen()
function。 在这种情况下,您可以尝试freopen('example.txt','w',stdout)将输出写入 example.txt 文件。
这可能会对您有所帮助-http://www.cplusplus.com/reference/cstdio/freopen/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.