| delorie.com/archives/browse.cgi | search |
| From: | mert0407 AT sable DOT ox DOT ac DOT uk (George Foot) |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: Help me about Djgpp |
| Date: | Sun, 07 Sep 1997 17:41:59 GMT |
| Organization: | [posted via] Easynet Group PLC |
| Lines: | 15 |
| Message-ID: | <3412e026.2691811@news.easynet.co.uk> |
| References: | <01bcbaee$70d4ac60$0100007f AT padrino> |
| NNTP-Posting-Host: | foot.easynet.co.uk |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
On 6 Sep 97 18:15:09 GMT, "moabdib" <moabdib AT arrakis DOT es> wrote:
>How I can to execute a DOS command under DJGPP????
>Excuse my pathetic English.
Use the `system' library function, prototyped in stdlib.h. Just pass a
string (the command line to execute):
system("cc1plus.exe @cc123456.gp");
See the documentation on it (type `info libc a system') for further
information.
--
george DOT foot AT merton DOT oxford DOT ac DOT uk
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |