www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/08/17:17:04

Message-Id: <361CFC6E.4F690448@cableol.co.uk>
Date: Thu, 08 Oct 1998 18:54:54 +0100
From: The Allens <allen DOT asjp AT cableol DOT co DOT uk>
X-Mailer: Mozilla 4.04 [en] (Win95; I)
Mime-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: After you read this PLEASE DONT FLAME ME!
References: <361c290a DOT 0 AT news DOT softhouse DOT com>
Reply-To: djgpp AT delorie DOT com

Joshua Tacey wrote:
> 
> Ok, I have a really basic question, Ive checked every resource ive got and
> nothing told me the right answer, can some one please help?
> 
> How do you run a program inside a program?
> 
> Like as the last part of your program, it runs another program.
> 
> If anyone can help
> 
> THANKS!!!
> 
> JT

Use the "system" funtion, with its prototype in stdlib.h.
Use it as system ("The string to pass to your os (dos || windows)");

		Peter Allen

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019