Solved

How to call a program from c++

Posted on 1999-01-07
2
166 Views
Last Modified: 2010-04-16
I need to call a program from c++, help needed QUICKLY!

/Michael
0
Comment
Question by:mbn2
2 Comments
 
LVL 7

Accepted Solution

by:
Motaz earned 100 total points
Comment Utility
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
 

Author Comment

by:mbn2
Comment Utility
THANK YOU! The cursed help files in Visual studio ain't worth dirt!

/Michael
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

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…
What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

763 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

10 Experts available now in Live!

Get 1:1 Help Now