C/stdlib.h/system — различия между версиями
Admin (обсуждение | вклад) м (1 версия: Импорт контента...) |
|
(нет различий)
|
Текущая версия на 10:23, 25 мая 2010
system: passes the string as a command to the command processor
//Header file: #include <stdlib.h>
//Declaration: int system(const char *str);
//Return: zero on success or nonzero on error.
#include <stdlib.h>
int main(void)
{
printf("%s",system("dir"));
}