Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Home » Tip Bank » C++
Language: C++
Expertise: Beginner
Aug 17, 1998

Using the Exec...() function

Question:
How do you use the Exec() function to run another executable program out of your C++ application? The help files have syntax on this, but I need someone to step through everything slowly and clearly. I can't figure out how to use the different versions of Exec() and how to use the arguments.

Answer:
The Exec function provides several options for dealing with a multitasking operating system. If none of these are of concern to you, you might find the system() function much easier to use. It just takes a string argument that specifies the command to execute.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date