⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 system.c

📁 里面包含很多c语言的源码
💻 C
字号:
/* Demonstrates the system() function. */
#include <stdio.h>
#include <stdlib.h>

int main( void )
{
    /* Declare a buffer to hold input. */

    char input[40];

    while (1)
    {
        /* Get the user's command. */

        puts("\nInput the desired system command, blank to exit");
        gets(input);

        /* Exit if a blank line was entered. */

        if (input[0] == '\0')
            exit(0);

        /* Execute the command. */

        system(input);
    }
    return 0;
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -