Solved

retrieving programs

Posted on 2000-02-14
5
165 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 80 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
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 video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

919 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

21 Experts available now in Live!

Get 1:1 Help Now