Execute a command.int system( const char *command ); int _wsystem( const wchar_t *command ); Parameter command Command to be executed. Example This program uses system to TYPE a text file. // crt_system.c#include <process.h>int main( void ) { system( "type crt_system.txt" ); }
const char *command
);
int _wsystem(
const wchar_t *command
);
Parameter
command
Command to be executed.
Example
This program uses system to TYPE a text file.
// crt_system.c#include <process.h>int main( void )
{
system( "type crt_system.txt" );
}