資源簡介
寵物要玩樂、吃飯(每天要三頓)、打工等,有不同表情的運作。有不同的屬性值(快樂值、健康值)

代碼片段和文件信息
//?ePet.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“ePet.h“
#include?“ePetDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CEPetApp
BEGIN_MESSAGE_MAP(CEPetApp?CWinApp)
//{{AFX_MSG_MAP(CEPetApp)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CEPetApp?construction
CEPetApp::CEPetApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CEPetApp?object
CEPetApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CEPetApp?initialization
BOOL?CEPetApp::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
CEPetDlg?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;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????671798??2012-05-18?20:33??ePet?Beta\Debug\ePet.exe
?????文件?????458004??2012-05-18?20:33??ePet?Beta\Debug\ePet.ilk
?????文件??????18271??2012-05-16?19:48??ePet?Beta\Debug\ePet.obj
?????文件????5493172??2012-05-16?19:14??ePet?Beta\Debug\ePet.pch
?????文件?????492544??2012-05-18?20:33??ePet?Beta\Debug\ePet.pdb
?????文件?????470484??2012-05-18?12:25??ePet?Beta\Debug\ePet.res
?????文件??????39615??2012-05-18?20:33??ePet?Beta\Debug\ePetDlg.obj
?????文件??????79551??2012-05-16?19:14??ePet?Beta\Debug\PictureEx.obj
?????文件?????105439??2012-05-16?19:14??ePet?Beta\Debug\StdAfx.obj
?????文件?????263168??2012-05-18?20:33??ePet?Beta\Debug\vc60.idb
?????文件?????413696??2012-05-18?20:33??ePet?Beta\Debug\vc60.pdb
?????文件?????490424??2012-05-18?20:33??ePet?Beta\ePet.aps
?????文件???????1700??2012-05-18?20:33??ePet?Beta\ePet.clw
?????文件???????2035??2012-05-16?19:06??ePet?Beta\ePet.cpp
?????文件???????5136??2012-05-18?00:12??ePet?Beta\ePet.dsp
?????文件????????516??2012-05-16?19:06??ePet?Beta\ePet.dsw
?????文件???????1302??2012-05-16?19:06??ePet?Beta\ePet.h
?????文件?????173056??2012-05-18?20:33??ePet?Beta\ePet.ncb
?????文件??????48640??2012-05-18?20:33??ePet?Beta\ePet.opt
?????文件????????957??2012-05-18?20:33??ePet?Beta\ePet.plg
?????文件???????6787??2012-05-18?12:25??ePet?Beta\ePet.rc
?????文件???????8829??2012-05-18?20:33??ePet?Beta\ePetDlg.cpp
?????文件???????1577??2012-05-17?22:24??ePet?Beta\ePetDlg.h
?????文件??????33020??2012-05-10?18:42??ePet?Beta\PictureEx.cpp
?????文件??????10521??2012-05-10?18:41??ePet?Beta\PictureEx.h
?????文件???????3543??2012-05-16?19:06??ePet?Beta\ReadMe.txt
?????文件??????32199??2012-05-16?19:45??ePet?Beta\res\20108259121290666_asqql.com.gif
?????文件??????18840??2012-05-17?22:39??ePet?Beta\res\2011101425232169.gif
?????文件??????38157??2012-05-16?19:45??ePet?Beta\res\20120217093704807.gif
?????文件??????42984??2012-05-16?19:45??ePet?Beta\res\2012022209582731.gif
............此處省略18個文件信息
評論
共有 條評論