what is the counterpart of
start program.exe
in c++?
system(program.exe)
system(program.exe)
well i do not want to use the system syntax, isn't there any other way to open a program in c++?
well i do not want to use the system syntax, isn't there any other way to open a program in c++?
No there isn't. You have to resort to OS specific functions to start programs.
well i do not want to use the system syntax, isn't there any other way to open a program in c++?
FAQ > How do I... (Level 2) > Run a program from within a program
system() is a c and c++ function. Otherwise you have to use os-specific functions such as the spawn family of functions on *nix, of ShellExecute() and CreateProcess() on MS-Windows.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.