mrg*_*g95 5 c++ embed executable exe
我有一个关于一个主题的快速提问,我对此非常不满意.我有一个程序,它发送命令到另一个.exe在我称为"工具"的文件夹中.我以这种格式发送:
system("tools\\program.exe -r -w file.dat file_new.dat");
Run Code Online (Sandbox Code Playgroud)
一切都很好,但是,当我将程序构建到.exe中时,显然需要将其他可执行文件放在第二个文件夹中.有没有办法将外部.exe包含到我的项目中,所以最终产品只有一个.exe?
我正在使用Visual Studio 2008(lol)并运行Windows 7 64位.
谢谢 :)