-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.cpp
38 lines (32 loc) · 1.34 KB
/
main.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// main.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。
//
#include <iostream>
#include "BasicFunction.h"
#include "FindText.h"
#include"FindJPG.h"
#include"FindZip.h"
#include "md5.h"
unsigned char buffer[MAX_SIZE];
int main()
{
char fileName[] = "E:\\1_Temp\\challenges\\dfrws-2006-challenge.raw";
char savePath[] = "E:\\1_Temp\\challenges\\MyOutput";
FILE* fp;
set<int> usedSector;
fopen_s(&fp, fileName, "rb");
//FindText(fp, buffer, savePath);
rebuild_JPG(fp, buffer, savePath);
//FindHtml(fp, buffer, savePath, usedSector);
//FindContinueZip(fp, buffer, savePath);
printf_s("执行完成!");
return 0;
}
// 运行程序: Ctrl + F5 或调试 >“开始执行(不调试)”菜单
// 调试程序: F5 或调试 >“开始调试”菜单
// 入门使用技巧:
// 1. 使用解决方案资源管理器窗口添加/管理文件
// 2. 使用团队资源管理器窗口连接到源代码管理
// 3. 使用输出窗口查看生成输出和其他消息
// 4. 使用错误列表窗口查看错误
// 5. 转到“项目”>“添加新项”以创建新的代码文件,或转到“项目”>“添加现有项”以将现有代码文件添加到项目
// 6. 将来,若要再次打开此项目,请转到“文件”>“打开”>“项目”并选择 .sln 文件