Search found 1 match
- 08 Aug 2016 06:45
- Forum: DOS Batch Forum
- Topic: How can I create a batch file that compiles and executes a C++ program using cl ?
- Replies: 2
- Views: 5417
How can I create a batch file that compiles and executes a C++ program using cl ?
I want to compile and execute a c++ program from Python. I need to: 1.open VS2015 x64 ARM Cross Tools Command Prompt 2.run %comspec% /k ""C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat"" amd64 3. cl main.cpp 4. main.exe I tried: I thought I could create a ba...