开发者

How to Compile C++ code using C# application

I need to compile C++ code in my Windows application and append the results (output or execution errors) 开发者_开发技巧to a rich text box. I use CodeDomProvider Class but I'm unable to compile the code using C++ language. How can I do that?


You could just call the command line C++ compiler (cl.exe) file that comes with VS and pipe the output to somewhere suitable.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜