N
N
Nevzorov2021-03-07 21:12:37
Command line
Nevzorov, 2021-03-07 21:12:37

How to run Exe file from c++ project?

How to run exe file from c++ project (console)

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
Alexander Ananiev, 2021-03-07
@SaNNy32

https://en.cppreference.com/w/cpp/utility/program/...

C
Cunning Fox, 2021-03-08
@Cunning_Fox

C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise>cl
Microsoft (R) C/C++ Optimizing Compiler Version 19.10.25017 for x86
Copyright (C) Microsoft Corporation. All rights reserved.
usage: cl [option...] filename... [ /link linkoption... ]

I
Ivan Volodin, 2021-03-09
@int_i

If as a child process, pay attention to the exec functions *poke*
If as a child process inside the same console window, then popen

V
Vadya369, 2021-03-12
@Vadya369

Using system("start [path to desired executor]")

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question