-
大小: 167KB文件類型: .rar金幣: 2下載: 0 次發(fā)布日期: 2021-06-11
- 語言: C/C++
- 標(biāo)簽:
資源簡介
中南大學(xué)數(shù)據(jù)結(jié)構(gòu)課程設(shè)計
使用MFC編程,這是源代碼,
可以打開Excel名單把學(xué)生的
信息導(dǎo)入

代碼片段和文件信息
//?DSProject.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“DSProject.h“
#include?“DSProjectDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CDSProjectApp
BEGIN_MESSAGE_MAP(CDSProjectApp?CWinApp)
//{{AFX_MSG_MAP(CDSProjectApp)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CDSProjectApp?construction
CDSProjectApp::CDSProjectApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CDSProjectApp?object
CDSProjectApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CDSProjectApp?initialization
BOOL?CDSProjectApp::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
CDSProjectDlg?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;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????45056??2011-07-04?09:17??DSProject\Book1.xls
?????文件?????290884??2011-07-06?14:39??DSProject\Debug\DSProject.exe
?????文件??????14336??2011-06-30?16:56??DSProject\DS.xls
?????文件??????23832??2011-07-06?15:56??DSProject\DSProject.aps
?????文件???????3504??2011-07-06?16:32??DSProject\DSProject.clw
?????文件???????2105??2011-06-27?21:19??DSProject\DSProject.cpp
?????文件???????4710??2011-07-05?10:37??DSProject\DSProject.dsp
?????文件????????541??2011-06-27?21:19??DSProject\DSProject.dsw
?????文件???????1357??2011-06-27?21:19??DSProject\DSProject.h
?????文件?????394240??2011-07-06?16:32??DSProject\DSProject.ncb
?????文件??????55808??2011-07-06?16:32??DSProject\DSProject.opt
?????文件????????878??2011-07-06?14:39??DSProject\DSProject.plg
?????文件???????8928??2011-07-05?09:33??DSProject\DSProject.rc
?????文件??????52443??2011-07-05?13:58??DSProject\DSProjectDlg.cpp
?????文件???????3042??2011-07-04?08:42??DSProject\DSProjectDlg.h
?????文件?????169489??2011-06-27?21:23??DSProject\excel.cpp
?????文件??????45240??2011-06-27?21:23??DSProject\excel.h
?????文件???????2003??2011-06-29?14:48??DSProject\Find.cpp
?????文件???????1338??2011-06-29?00:46??DSProject\Find.h
?????文件???????1078??2011-07-05?08:46??DSProject\Help.txt
?????文件???????2065??2011-06-29?15:24??DSProject\insert.cpp
?????文件???????1344??2011-06-29?02:05??DSProject\insert.h
?????文件???????3633??2011-06-27?21:19??DSProject\ReadMe.txt
?????文件???????1078??2011-06-27?21:19??DSProject\res\DSProject.ico
?????文件????????401??2011-06-27?21:19??DSProject\res\DSProject.rc2
????..A.SH.??????3072??2011-07-04?08:13??DSProject\res\Thumbs.db
?????文件???????1840??2011-06-30?23:31??DSProject\resource.h
?????文件???????2413??2011-06-29?16:00??DSProject\ReviseDlg.cpp
?????文件???????1357??2011-06-29?15:45??DSProject\ReviseDlg.h
?????文件????????211??2011-06-27?21:19??DSProject\StdAfx.cpp
............此處省略19個文件信息
評論
共有 條評論