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

📄 mycat.c

📁 3司 机售票员同步模型 3司机售票员同步模型
💻 C
字号:
/* mycat */#include "stdio.h"int main (int argc, char* argv[]){    int i = 1;/*argc[0] is the name of the command*/    FILE *fp = NULL;    char c;    while (i < argc)    {        if ((fp=fopen(argv[i++],"r")) == NULL)/*Can not open the file*/            continue;                /*Read the ith file and print*/        c = fgetc(fp);        while (c != EOF)        {            printf("%c", c);            c = fgetc(fp);        }        fclose(fp);    }    return 0;}

⌨️ 快捷键说明

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