Solved

How to call a program from c++

Posted on 1999-01-07
2
185 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
ID: 1181723
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
ID: 1181724
THANK YOU! The cursed help files in Visual studio ain't worth dirt!

/Michael
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Need 'Configuration File' Management Library for C++ Project 1 493
C Language combined operators 28 109
How to split this in C++ 4 101
Least Squares Curve Fitting 4 77
Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
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 how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

816 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

8 Experts available now in Live!

Get 1:1 Help Now