資源簡介
MFC編譯的成績柱狀圖,可以選擇班級課程,可以隨意該成績……

代碼片段和文件信息
//?1.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“1.h“
#include?“1Dlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CMy1App
BEGIN_MESSAGE_MAP(CMy1App?CWinApp)
//{{AFX_MSG_MAP(CMy1App)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CMy1App?construction
CMy1App::CMy1App()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CMy1App?object
CMy1App?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CMy1App?initialization
BOOL?CMy1App::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
CMy1Dlg?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;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????20772??2005-01-05?16:36??2\1.aps
?????文件???????1147??2005-01-05?16:52??2\1.clw
?????文件???????2015??2004-12-30?13:45??2\1.cpp
?????文件???????4066??2005-01-04?09:11??2\1.dsp
?????文件????????525??2004-12-30?13:45??2\1.dsw
?????文件???????1279??2004-12-30?13:45??2\1.h
?????文件??????66560??2005-01-05?16:52??2\1.ncb
?????文件??????48640??2005-01-05?16:52??2\1.opt
?????文件????????236??2005-01-05?16:51??2\1.plg
?????文件???????5880??2005-01-05?16:26??2\1.rc
?????文件??????15792??2005-01-05?16:51??2\1Dlg.cpp
?????文件???????1337??2005-01-05?16:44??2\1Dlg.h
?????文件?????114730??2005-01-05?16:51??2\Debug\1.exe
?????文件?????269004??2005-01-05?16:51??2\Debug\1.ilk
?????文件??????13640??2005-01-05?16:44??2\Debug\1.obj
?????文件????5640704??2005-01-05?16:42??2\Debug\1.pch
?????文件?????386048??2005-01-05?16:51??2\Debug\1.pdb
?????文件???????2600??2005-01-05?16:42??2\Debug\1.res
?????文件??????60916??2005-01-05?16:51??2\Debug\1Dlg.obj
?????文件?????105465??2005-01-05?16:42??2\Debug\StdAfx.obj
?????文件?????246784??2005-01-05?16:51??2\Debug\vc60.idb
?????文件?????438272??2005-01-05?16:51??2\Debug\vc60.pdb
?????文件?????????26??2005-01-04?10:01??2\gl1.txt
?????文件?????????59??2005-01-05?16:48??2\gl2.txt
?????文件?????????15??2005-01-04?10:00??2\ls1.txt
?????文件?????????49??2005-01-05?16:48??2\ls2.txt
?????文件???????3495??2004-12-30?13:45??2\ReadMe.txt
?????文件???????1078??2004-12-30?13:45??2\res\1.ico
?????文件????????393??2004-12-30?13:45??2\res\1.rc2
?????文件????????771??2005-01-05?16:26??2\resource.h
............此處省略12個文件信息
評論
共有 條評論