How to call a program from c++

I need to call a program from c++, help needed QUICKLY!

/Michael
mbn2Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
MotazConnect With a Mentor Commented:
You can use system procedure like this :

system("c:\\dos\\edit.com");

but you must run your program outside C++ environment ( if the name of your program 1.cpp you must run 1.exe in the dos )

Motaz

0
 
mbn2Author Commented:
THANK YOU! The cursed help files in Visual studio ain't worth dirt!

/Michael
0
All Courses

From novice to tech pro — start learning today.