Article View: be.comp.programming
Article #17334Re: opstarten ander programma vanuit C++
From: Koen van der Auwera
Date: Tue, 04 Jan 2000 00:00
Date: Tue, 04 Jan 2000 00:00
44 lines
2049 bytes
2049 bytes
Syntax #include <stdlib.h> int system(const char *command); Description Issues an operating system command. system invokes the operating system command processor to execute an operating system command, batch file, or other program named by the string command, from inside an executing C program. To be located and executed, the program must be in the current directory or in one of the directories listed in the PATH string in the environment. The COMSPEC environment variable is used to find the command processor program file, so that file need not be in the current directory. Return Value If command is a NULL pointer, system returns nonzero if a command processor is available. If command is not a NULL pointer, system returns 0 if the command processor was successfully started. If an error occurred, a -1 is returned and errno is set to one of the following: ENOENT Path or file function not found ENOEXEC Exec format error ENOMEM Not enough memory Borland C++ 5.0 Programmer's Guide edg wrote: > > weet iemand hoe ik vanuit C++ (Cbuilder of C++) een anders windows programma > kan opstarten? > > -- > edg -- -------------------------- Hi, I'm a signature virus. plz set me as your signature and help me spread :)
Technical Details
Message-ID:
<387246CA.993075B4@student.khleuven.be>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<83if34$d6b$1@news1.skynet.be>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcea4,c2f39530e8796364 X-Google-Attributes: gidfcea4,public From: Koen van der Auwera <Koen.vanderauwera@student.khleuven.be> Subject: Re: opstarten ander programma vanuit C++ Date: 2000/01/04 Message-ID: <387246CA.993075B4@student.khleuven.be> X-Deja-AN: 568269080 Content-Transfer-Encoding: 7bit References: <83if34$d6b$1@news1.skynet.be> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@pandora.be X-Trace: afrodite.telenet-ops.be 947013428 213.224.21.46 (Tue, 04 Jan 2000 20:17:08 MET) Organization: geen MIME-Version: 1.0 Reply-To: Koen.vanderauwera@student.khleuven.be NNTP-Posting-Date: Tue, 04 Jan 2000 20:17:08 MET Newsgroups: be.comp.programming