Solved

retrieving programs

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
C Language combined operators 28 114
Writing a parser for java language 4 83
trigs fail! I thought I knew how to do trignometry 3 75
No module found pypyodbc, 3 32
Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
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 learn how to clear a vector as well as how to detect empty vectors in C++.

839 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