資源簡介
N皇后.rar

代碼片段和文件信息
//?queen.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“queen.h“
#include?“queenDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CQueenApp
BEGIN_MESSAGE_MAP(CQueenApp?CWinApp)
//{{AFX_MSG_MAP(CQueenApp)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CQueenApp?construction
CQueenApp::CQueenApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CQueenApp?object
CQueenApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CQueenApp?initialization
BOOL?CQueenApp::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
CQueenDlg?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;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????147096??2011-06-02?22:41??n皇后1.docx
?????文件?????127093??2011-05-30?14:38??queen\Debug\queen.exe
?????文件?????285124??2011-05-30?14:38??queen\Debug\queen.ilk
?????文件??????61373??2011-05-16?16:19??queen\Debug\queen.obj
?????文件????5629256??2011-05-16?13:06??queen\Debug\queen.pch
?????文件?????574464??2011-05-30?14:38??queen\Debug\queen.pdb
?????文件???????2720??2011-05-16?16:19??queen\Debug\queen.res
?????文件?????136490??2011-05-30?14:38??queen\Debug\queenDlg.obj
?????文件?????106180??2011-05-16?13:06??queen\Debug\StdAfx.obj
?????文件?????279552??2011-05-30?14:38??queen\Debug\vc60.idb
?????文件?????479232??2011-05-30?14:38??queen\Debug\vc60.pdb
?????文件????????554??2011-05-16?13:39??queen\nQueen.h
?????文件??????21436??2011-05-22?13:12??queen\queen.aps
?????文件???????1309??2011-05-30?14:56??queen\queen.clw
?????文件???????2049??2011-05-16?13:05??queen\queen.cpp
?????文件???????4141??2011-05-16?16:22??queen\queen.dsp
?????文件????????518??2011-05-16?13:05??queen\queen.dsw
?????文件???????1313??2011-05-16?13:05??queen\queen.h
?????文件??????66560??2011-05-30?15:14??queen\queen.ncb
?????文件??????51712??2011-05-30?15:14??queen\queen.opt
?????文件???????6505??2011-05-30?14:38??queen\queen.plg
?????文件???????5667??2011-05-16?16:19??queen\queen.rc
?????文件???????7485??2011-05-30?14:38??queen\queenDlg.cpp
?????文件???????2561??2011-05-16?16:19??queen\queenDlg.h
?????文件???????3561??2011-05-16?13:05??queen\ReadMe.txt
?????文件???????1078??2011-05-16?13:05??queen\res\queen.ico
?????文件????????397??2011-05-16?13:05??queen\res\queen.rc2
?????文件????????959??2011-05-16?16:19??queen\resource.h
?????文件????????207??2011-05-16?13:05??queen\StdAfx.cpp
?????文件???????1054??2011-05-16?13:05??queen\StdAfx.h
............此處省略16個文件信息
評論
共有 條評論