Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

retrieving programs

Posted on 2000-02-14
5
Medium Priority
?
173 Views
Last Modified: 2010-04-10
How can you retrieve a program, that has been previously saved, so you can call it up in main, for example you are running a simple math program that allows you to decide what kind of test you would like to take, addition, subtraction etc..., and you have already saved an addition math program and you just want to call it up to save space and so you don't need to retype all of the information, and if you can turn it into a function how.
0
Comment
Question by:Strata
  • 3
5 Comments
 
LVL 6

Expert Comment

by:WxW
ID: 2520423
You have to configure the program to save data in a file . If the data is not saved , you are not accessing it . If the data is saved in a way in a file , the program can use that information .
0
 
LVL 2

Accepted Solution

by:
Billy_Pilgrim earned 160 total points
ID: 2521353
you can use system() to call another executable program or you can simply turn each of those programs into functions and call them from your main program. . .
0
 

Author Comment

by:Strata
ID: 2523944
Edited text of question.
0
 

Author Comment

by:Strata
ID: 2523964
Adjusted points to 80
0
 

Author Comment

by:Strata
ID: 2558861
we tried system() but it didn't work and yes I know that should but thanks anyway
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

926 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