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?
您可以只调用VS附带的命令行C ++编译器(cl.exe)文件,然后将输出通过管道传输到合适的位置。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.