資源簡介
該電子詞典是在vc平臺下開發的,可進行英漢互譯,而且還有強大的模糊查詢功能,操作簡單。

代碼片段和文件信息
//?dictionary.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“dictionary.h“
#include?“dictionaryDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CDictionaryApp
BEGIN_MESSAGE_MAP(CDictionaryApp?CWinApp)
//{{AFX_MSG_MAP(CDictionaryApp)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CDictionaryApp?construction
CDictionaryApp::CDictionaryApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CDictionaryApp?object
CDictionaryApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CDictionaryApp?initialization
BOOL?CDictionaryApp::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.
#ifdef?_AFXDLL
Enable3dControls(); //?Call?this?when?using?MFC?in?a?shared?DLL
#else
Enable3dControlsStatic(); //?Call?this?when?linking?to?MFC?statically
#endif
CDictionaryDlg?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;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????2408427??2008-01-18?16:02??dictionary\chinese0.txt
?????文件????1330342??2008-01-20?14:26??dictionary\chinese1.txt
?????文件?????952140??2008-01-22?09:55??dictionary\dictionary.aps
?????文件???????1369??2008-01-22?09:55??dictionary\dictionary.clw
?????文件???????2123??2008-01-20?20:38??dictionary\dictionary.cpp
?????文件???????4497??2008-01-20?22:56??dictionary\dictionary.dsp
?????文件????????543??2008-01-10?15:50??dictionary\dictionary.dsw
?????文件???????1368??2008-01-10?15:50??dictionary\dictionary.h
?????文件?????279552??2008-01-24?08:20??dictionary\dictionary.ncb
?????文件??????48640??2008-01-24?08:20??dictionary\dictionary.opt
?????文件???????1629??2008-01-24?08:19??dictionary\dictionary.plg
?????文件???????6114??2008-01-22?09:52??dictionary\dictionary.rc
?????文件??????29978??2008-01-22?09:53??dictionary\dictionaryDlg.cpp
?????文件???????2067??2008-01-22?09:54??dictionary\dictionaryDlg.h
?????文件????2406458??2008-01-19?20:32??dictionary\english0.txt
?????文件????1323038??2008-01-20?10:15??dictionary\english1.txt
?????文件???????4179??2008-01-21?10:22??dictionary\ReadMe.txt
?????文件???????3262??2008-01-18?13:43??dictionary\res\7.ico
?????文件?????921654??2008-01-20?22:56??dictionary\res\background.BMP
?????文件???????2238??1996-07-04?00:00??dictionary\res\Bl?Book.ico
?????文件???????3262??2002-06-07?15:44??dictionary\res\dictionary.ico
?????文件????????402??2008-01-10?15:50??dictionary\res\dictionary.rc2
?????文件???????3262??2008-01-18?16:06??dictionary\res\icon2.ico
?????文件?????161606??2008-01-19?10:08??dictionary\res\Sherlock.ico
?????文件???????1283??2008-01-22?09:55??dictionary\resource.h
?????文件????????212??2008-01-10?15:50??dictionary\StdAfx.cpp
?????文件???????1054??2008-01-10?15:50??dictionary\StdAfx.h
?????目錄??????????0??2008-04-20?10:28??dictionary\res
?????目錄??????????0??2008-02-24?14:18??dictionary
-----------?---------??----------?-----??----
............此處省略2個文件信息
- 上一篇:c++宿舍管理系統源碼+論文
- 下一篇:bmp24位彩色圖像轉8位灰度圖像純C++
評論
共有 條評論