本文介绍了从C ++运行批处理文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在从C ++代码运行批处理文件.系统("sample.bat").我的问题是,当我完成C ++程序并将其转换为exe时.有没有办法包含bat文件,使其包含在程序中?谢谢.
I''m running a batch file from C++ code. system("sample.bat"). My question is, when I finish my C++ program and turn it into an exe. Is there a way to include the bat file so that it is included in the program? Thanks.
推荐答案
这篇关于从C ++运行批处理文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!