Solved

retrieving programs

Posted on 2000-02-14
5
171 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Independent Software Vendors: 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

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
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 how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.

728 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