• 大小: 11.04MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-07-06
  • 语言: C/C++
  • 标签: 数据结构  

资源简介

软件压缩/解压缩软件 Szip(Huffman算法及应用) 灰度图像压缩/解压缩类的实现 (动态规划算法的应用) 源码及报告 C++ VS2005 MFC 实现

资源截图

代码片段和文件信息

// BitMapCompress.cpp : Defines the class behaviors for the application.
//

#include “stdafx.h“
#include “BitMapCompress.h“
#include “BitMapCompressDlg.h“

#ifdef _DEBUG
#define new DEBUG_NEW
#endif


// CBitMapCompressApp

BEGIN_MESSAGE_MAP(CBitMapCompressApp CWinApp)
ON_COMMAND(ID_HELP &CWinApp::onhelp)
END_MESSAGE_MAP()


// CBitMapCompressApp construction

CBitMapCompressApp::CBitMapCompressApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}


// The one and only CBitMapCompressApp object

CBitMapCompressApp theApp;


// CBitMapCompressApp initialization

BOOL CBitMapCompressApp::InitInstance()
{
// InitCommonControlsEx() is required on Windows XP if an application
// manifest specifies use of ComCtl32.dll version 6 or later to enable
// visual styles.  Otherwise any window creation will fail.
INITCOMMONCONTROLSEX InitCtrls;
InitCtrls.dwSize = sizeof(InitCtrls);
// Set this to include all the common control classes you want to use
// in your application.
InitCtrls.dwICC = ICC_WIN95_CLASSES;
InitCommonControlsEx(&InitCtrls);

CWinApp::InitInstance();

AfxEnableControlContainer();

// Standard initialization
// If you are not using these features and wish to reduce the size
// of your final executable you should remove from the following
// the specific initialization routines you do not need
// Change the registry key under which our settings are stored
// TODO: You should modify this string to be something appropriate
// such as the name of your company or organization
SetRegistryKey(_T(“Local AppWizard-Generated Applications“));

CBitMapCompressDlg dlg;
m_pMainWnd = &dlg;
INT_PTR nResponse = dlg.DoModal();
if (nResponse == IDOK)
{
return true;// TODO: Place code here to handle when the dialog is
//  dismissed with OK
}
else if (nResponse == IDCANCEL)
{
return false;// TODO: Place code here to handle when the dialog is
//  dismissed with Cancel
}

// Since the dialog has been closed return FALSE so that we exit the
//  application rather than start the application‘s message pump.
return FALSE;
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

    ..A.SHR         9  2010-01-16 14:37  something others\Desktop_.ini

    ..A.SHR         9  2010-01-12 14:32  something others\Desktop_1.ini

    ..A.SHR         9  2010-01-12 14:32  something others\Desktop_2.ini

     文件     117248  2010-07-20 15:23  something others\数据结构实习报告.doc

     文件       3289  2009-02-22 12:55  something others\DataCompress\binary.cpp

     文件        879  2009-02-21 15:06  something others\DataCompress\binary.h

     文件      59140  2010-01-12 10:48  something others\DataCompress\DataCompress.aps

     文件       2187  2009-02-22 10:31  something others\DataCompress\DataCompress.cpp

     文件        540  2009-02-21 14:55  something others\DataCompress\DataCompress.h

     文件   10619904  2010-01-12 10:50  something others\DataCompress\DataCompress.ncb

     文件       5347  2010-01-12 10:48  something others\DataCompress\DataCompress.rc

     文件        888  2009-02-21 14:55  something others\DataCompress\DataCompress.sln

    ..A..H.     25600  2010-01-12 10:50  something others\DataCompress\DataCompress.suo

     文件       5966  2009-02-21 15:06  something others\DataCompress\DataCompress.vcproj

     文件       1427  2009-02-22 22:32  something others\DataCompress\DataCompress.vcproj.D023D2EC885D417.ZhangXiaoyu.user

     文件       1427  2010-01-12 10:50  something others\DataCompress\DataCompress.vcproj.MICROSOF-A82976.Administrator.user

     文件       4595  2009-02-22 10:31  something others\DataCompress\DataCompressDlg.cpp

     文件        894  2009-02-21 21:58  something others\DataCompress\DataCompressDlg.h

    ..A.SHR         9  2010-01-16 14:37  something others\DataCompress\Desktop_.ini

    ..A.SHR         9  2010-01-12 14:32  something others\DataCompress\Desktop_1.ini

    ..A.SHR         9  2010-01-12 14:32  something others\DataCompress\Desktop_2.ini

     文件        890  2009-02-21 15:02  something others\DataCompress\Huffman.h

     文件       3257  2009-02-21 15:01  something others\DataCompress\minheap.h

     文件       6520  2009-02-22 12:58  something others\DataCompress\Mytree.cpp

     文件        832  2009-02-22 10:32  something others\DataCompress\Mytree.h

     文件       4349  2009-02-21 14:55  something others\DataCompress\ReadMe.txt

     文件        868  2010-01-12 10:48  something others\DataCompress\resource.h

     文件        212  2009-02-21 14:55  something others\DataCompress\stdafx.cpp

     文件       2864  2009-02-21 14:55  something others\DataCompress\stdafx.h

     文件        840  2009-02-21 15:01  something others\DataCompress\xcept.h

............此处省略58个文件信息

评论

共有 条评论