📄 setup.c
字号:
/***********************************************************************
*
* SETUP Version 55 for Real Time Operation at multiple bit rates
*
*************************************************************************
*
* Set processing options
*/
#include "lpcdefs.h"
#include "config.ch"
#include "common.h"
#include "contrl.ch"
setup(nargs, args)
int nargs;
char *args[];
{
char fname[80], fname2[80], line[80];
/*
Call to getcl() gets name of input and output file and message level.
Real time doesn't need messages about performance, etc, so those will be
eliminated.
*/
if (nargs < 3) {
printf("Usage: %s inputfile outputfile\n", args[0]);
exit(1);
}
else {
fdi = fopen(args[1], "rb");
if(fdi==NULL) {
printf("Problem opening [3] %s ... program exiting\n",args[1]);
exit(1);
}
fdo = fopen(args[2], "w");
if(fdo == NULL) {
printf("Problem opening [4] ... program exiting %s\n",args[2]);
exit(1);
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -