main.c
来自「3号作品是分析WarCraft III游戏的replay文件的命令行工具」· C语言 代码 · 共 23 行
C
23 行
/* deal with the command arguments and define global variables */
#include <stdio.h>
FILE *in;
int main(int argc, char *argv[])
{
void console(char *);
switch (argc) {
case 2:
console(argv[1]);
break;
case 1:
console(NULL);
break;
default:
printf("Unknown arguments.\n");
}
return 0;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?