資源簡介
之前寫了一個字庫生成器的小工具,這份代碼是其中最核心的獲取字符的字模數據以及顯示的部分

代碼片段和文件信息
//?HZKCreator.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“HZKCreator.h“
#include?“HZKCreatorDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CHZKCreatorApp
BEGIN_MESSAGE_MAP(CHZKCreatorApp?CWinApp)
//{{AFX_MSG_MAP(CHZKCreatorApp)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code!
//}}AFX_MSG
ON_COMMAND(ID_HELP?CWinApp::onhelp)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
//?CHZKCreatorApp?construction
CHZKCreatorApp::CHZKCreatorApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CHZKCreatorApp?object
CHZKCreatorApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CHZKCreatorApp?initialization
BOOL?CHZKCreatorApp::InitInstance()
{
//?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.
CHZKCreatorDlg?dlg;
m_pMainWnd?=?&dlg;
int?nResponse?=?dlg.DoModal();
if?(nResponse?==?IDOK)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?OK
}
else?if?(nResponse?==?IDCANCEL)
{
//?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;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????38636??2009-06-01?09:52??HZKTest\HZKCreator.aps
?????文件???????1712??2009-06-01?09:53??HZKTest\HZKCreator.clw
?????文件???????1913??2008-06-13?17:09??HZKTest\HZKCreator.cpp
?????文件???????4300??2008-06-13?17:13??HZKTest\HZKCreator.dsp
?????文件????????543??2008-06-13?17:09??HZKTest\HZKCreator.dsw
?????文件???????1368??2008-06-13?17:09??HZKTest\HZKCreator.h
?????文件??????74752??2009-06-01?09:53??HZKTest\HZKCreator.ncb
?????文件??????48640??2009-06-01?09:53??HZKTest\HZKCreator.opt
?????文件???????1609??2009-06-01?09:53??HZKTest\HZKCreator.plg
?????文件???????6506??2009-06-01?09:52??HZKTest\HZKCreator.rc
????..A..H.?????13824??2008-08-27?17:41??HZKTest\HZKCreator.suo
?????文件???????9907??2008-06-18?13:29??HZKTest\HZKCreator.vcproj
?????文件??????17734??2009-06-01?09:52??HZKTest\HZKCreatorDlg.cpp
?????文件???????2676??2009-06-01?09:33??HZKTest\HZKCreatorDlg.h
?????文件???????3651??2008-06-13?17:09??HZKTest\ReadMe.txt
?????文件???????2238??2008-06-17?12:08??HZKTest\res\HZKCreator.ico
?????文件????????402??2008-06-13?17:09??HZKTest\res\HZKCreator.rc2
?????文件???????1194??2009-06-01?09:51??HZKTest\resource.h
?????文件????????212??2008-06-13?17:09??HZKTest\StdAfx.cpp
?????文件???????1024??2009-04-28?11:53??HZKTest\StdAfx.h
?????文件????????502??2008-06-13?17:12??HZKTest\XPst
?????目錄??????????0??2009-06-01?09:05??HZKTest\res
?????目錄??????????0??2009-06-01?09:53??HZKTest
-----------?---------??----------?-----??----
???????????????233343????????????????????23
- 上一篇:數據結構中用棧實現迷宮問題的c++代碼
- 下一篇:LZW壓縮算法C++源碼
評論
共有 條評論