开发者

Output _CrtDumpMemoryLeaks() to a String

Is it possible to output the contents of the开发者_运维百科 memory leak dump to a String (not a console)? Hopefully yes :)

_CrtDumpMemoryLeaks(); // to-string?


No. But you can have _CrtDumpMemoryLeaks output to a file (using _CrtSetReportMode and _CrtSetReportFile) and then read that file into a string.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜