URGENT small help for a C noob
i just need to know the command i need to do the following, i am making a c prg called main menu which when run give the user a menu of 4 choices to choose between other 4 prgs located in the same folder and to run the one the user will choose
i just need to know the command to run those prg and then exit the main menu prg suppsong that the files r located under folder named OR on a floppy drive I.E a:\OR\... and the files are named cpm.bas , pert.bas, srm.bas Code:
#include <stdio.h> |
To run a program on the computer inside so to speeak your program you use the system function call.
to run things locally in the same folder would be system dependent. man system for more details. |
Most threads have to do with Linux-related questions. Your question here seems to be for a DOS system; is that correct? That's ok, i'm just wondering if there really are other old DOS dinosaurs out there besides myself. And if this is so, you would want to use one of the exec function calls, for example:
Code:
Quote:
|
ya it is DOs related
thank very much i asked here cause this was an ass. i have to do for the OR prof thanks again very much |
All times are GMT -5. The time now is 08:39 AM. |