开发者

How to Compile C++ code using C# application

开发者 https://www.devze.com 2022-12-30 23:21 出处:网络
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 co

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

精彩评论

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