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

📄 example.h

📁 给出了 zip 压缩算法的完整实现过程。
💻 H
字号:
/*  Copyright (c) 1990-2005 Info-ZIP.  All rights reserved.  See the accompanying file LICENSE, version 2004-May-22 or later  (the contents of which are also included in zip.h) for terms of use.  If, for some reason, both of these files are missing, the Info-ZIP license  also may be found at:  ftp://ftp.info-zip.org/pub/infozip/license.html*//* Example header file*/#ifndef _EXAMPLE_H#define _EXAMPLE_H#include <windows.h>#include <assert.h>    /* required for all Windows applications */#include <stdlib.h>#include <stdio.h>#include <commdlg.h>#include <dlgs.h>#include <windowsx.h>#ifndef EXPENTRY#define EXPENTRY WINAPI#endif#include "structs.h"/* Defines */#ifndef MSWIN#define MSWIN#endiftypedef int (WINAPI * _DLL_ZIP)(ZCL);typedef int (WINAPI * _ZIP_USER_FUNCTIONS)(LPZIPUSERFUNCTIONS);typedef BOOL (WINAPI * ZIPSETOPTIONS)(LPZPOPT);/* Global variables */extern LPZIPUSERFUNCTIONS lpZipUserFunctions;extern HINSTANCE hZipDll;extern int hFile;                 /* file handle             *//* Global functions */int WINAPI DisplayBuf(char far *, unsigned long int);extern _DLL_ZIP ZipArchive;extern _ZIP_USER_FUNCTIONS ZipInit;extern ZIPSETOPTIONS ZipSetOptions;#endif /* _EXAMPLE_H */

⌨️ 快捷键说明

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