我需要从我的 C# 应用程序编译 C++ 程序。当我按下按钮时,我需要打开 cl.exe。谁能给我一些示例代码。
最佳答案
string filePath = "c:\program files\xyz\cl.exe";
System.Diagnostics.Process.Start(filePath);
关于c# - 从 C# 应用程序打开 cl.exe,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3042561/