0
Executing another program
hello i wonder how to start another program using terms ... something like int a cout<<"choose your program 1 for chrome 2 for vlc player"<< endl; cin <<a<< if (a=1) system(path to chrome) if (a=2) system(path to vlc) i am kinda new to c++ so i will be gratefull for any help thanks
2 Antworten
+ 2
maybe use system("start example.exe")
0
(start example.exe) is working with chrome but not with vlc