資源簡介
VC基于對話框的MFC程序,實現字符統計,超級簡單。

代碼片段和文件信息
//?EditDemo.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“EditDemo.h“
#include?“EditDemoDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CEditDemoApp
BEGIN_MESSAGE_MAP(CEditDemoApp?CWinApp)
//{{AFX_MSG_MAP(CEditDemoApp)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CEditDemoApp?construction
CEditDemoApp::CEditDemoApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CEditDemoApp?object
CEditDemoApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CEditDemoApp?initialization
BOOL?CEditDemoApp::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
CEditDemoDlg?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;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2013-05-14?12:05??EditDemo\
?????目錄???????????0??2013-05-14?12:05??EditDemo\Debug\
?????文件??????106543??2013-05-14?12:05??EditDemo\Debug\EditDemo.exe
?????文件??????189680??2013-05-14?12:05??EditDemo\Debug\EditDemo.ilk
?????文件???????13067??2013-05-14?12:03??EditDemo\Debug\EditDemo.obj
?????文件?????5503936??2013-05-14?12:03??EditDemo\Debug\EditDemo.pch
?????文件??????353280??2013-05-14?12:05??EditDemo\Debug\EditDemo.pdb
?????文件????????2584??2013-05-14?12:03??EditDemo\Debug\EditDemo.res
?????文件???????25293??2013-05-14?12:05??EditDemo\Debug\EditDemoDlg.obj
?????文件??????105654??2013-05-14?12:03??EditDemo\Debug\StdAfx.obj
?????文件??????205824??2013-05-14?12:05??EditDemo\Debug\vc60.idb
?????文件??????364544??2013-05-14?12:05??EditDemo\Debug\vc60.pdb
?????文件???????35512??2013-05-14?12:03??EditDemo\EditDemo.aps
?????文件????????1192??2013-05-14?12:03??EditDemo\EditDemo.clw
?????文件????????2091??2013-05-14?11:49??EditDemo\EditDemo.cpp
?????文件????????4195??2013-05-14?11:49??EditDemo\EditDemo.dsp
?????文件?????????522??2013-05-14?11:49??EditDemo\EditDemo.dsw
?????文件????????1346??2013-05-14?11:49??EditDemo\EditDemo.h
?????文件???????41984??2013-05-14?12:05??EditDemo\EditDemo.ncb
?????文件???????48640??2013-05-14?12:05??EditDemo\EditDemo.opt
?????文件?????????250??2013-05-14?12:05??EditDemo\EditDemo.plg
?????文件????????5410??2013-05-14?12:03??EditDemo\EditDemo.rc
?????文件????????4621??2013-05-14?12:05??EditDemo\EditDemoDlg.cpp
?????文件????????1393??2013-05-14?11:57??EditDemo\EditDemoDlg.h
?????文件????????3615??2013-05-14?11:49??EditDemo\ReadMe.txt
?????目錄???????????0??2013-05-14?11:49??EditDemo\res\
?????文件?????????778??2013-05-14?12:03??EditDemo\resource.h
?????文件????????1078??2013-05-14?11:49??EditDemo\res\EditDemo.ico
?????文件?????????400??2013-05-14?11:49??EditDemo\res\EditDemo.rc2
?????文件?????????210??2013-05-14?11:49??EditDemo\StdAfx.cpp
?????文件????????1054??2013-05-14?11:49??EditDemo\StdAfx.h
............此處省略0個文件信息
- 上一篇:vc文件捆綁器源代碼
- 下一篇:用C語言做的電梯程序
評論
共有 條評論