?? custtest.cpp
字號:
// CustTest.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <string.h>
#include <stdlib.h>
FILE *binfile;
#define TEMPSIZE 300
#define UNICODEHEAD 0x80
#define SEC_DRV_CAT_MAX_SIZE 256
#define TRUE 1
#define FALSE 0
typedef unsigned char UBYTE;
typedef unsigned char UINT8;
typedef unsigned short UINT16;
typedef unsigned long BOOL32;
typedef unsigned long U32;
#define SIZE_DATA 300
#include "../custtool/customizationFile.h"
#include "../custtool/printTest.h"
#include "../custtool/mepdFile.h"
#include "../custtool/mepdTest.h"
#define TFN "result.txt"
#define BFN "CFR_V5Bw_AB_002.mot"
//#define BFN "MEPD_File.bin"
#define FLAG "1"
int main(int argc, char* argv[])
{
/*open files*/
if(argc<4)
{
printf("Input file please ! (example: custTest.exe result.txt CF_V5_00_000.mot 1)\n");
argv[1]=TFN;
argv[2]=BFN;
argv[3]=FLAG;
//return -1;
}
if(argv[3][0]=='1')print_data(argv[2],argv[1]);
else print_data_sml(argv[2],argv[1]);
return 0;
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -