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.
精彩评论