Solved

Running a program with C++

Posted on 1998-07-27
2
180 Views
Last Modified: 2010-04-02
I am using the oldest version of Boreland C++.  I was wondering if anybody knows if you can run an *.exe program from within a program in C++.
0
Comment
Question by:LastChoice
2 Comments
 
LVL 1

Accepted Solution

by:
PC-Alex earned 50 total points
ID: 1168735
Try the command

shell("DRIVE:\PATH\Program.exe");

The 'e' in Borland was intended ... ?
0
 
LVL 11

Expert Comment

by:alexo
ID: 1168736
* The spawn functions (spawnl, spawnv, etc).
* The exec functions (execl, execv, etc).
* The system function.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now