Saturday, May 22, 2010

How i can issue command line (e.g running ms-dos program) in C++ programmig environment?

i want to execute ms-dos program in c++ code. how?


(i uses Visual studio 2005 - VC++)

How i can issue command line (e.g running ms-dos program) in C++ programmig environment?
With GCC compiler (used by Dev-++) you can write:





system("cls");
Reply:Try looking under "spawn" or "exec" in help - one of these should lead you in the right direction.


No comments:

Post a Comment