-
大小: 11.8MB文件類型: .rar金幣: 1下載: 0 次發(fā)布日期: 2023-06-18
- 語(yǔ)言: C/C++
- 標(biāo)簽: 數(shù)據(jù)庫(kù)??
資源簡(jiǎn)介
是一個(gè)自己做的數(shù)據(jù)庫(kù)課程設(shè)計(jì)(個(gè)人通訊錄),保內(nèi)是整個(gè)可運(yùn)行工程。程序代碼為C++語(yǔ)言所寫(xiě),使用的是VS2010工具,想改為更低版本的工具如VS2005或是VS2008,請(qǐng)搜索手動(dòng)轉(zhuǎn)換方法。
代碼片段和文件信息
//?MySqlDemo.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“MySqlDemo.h“
#include?“MySqlDemoDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CMySqlDemoApp
BEGIN_MESSAGE_MAP(CMySqlDemoApp?CWinApp)
//{{AFX_MSG_MAP(CMySqlDemoApp)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CMySqlDemoApp?construction
CMySqlDemoApp::CMySqlDemoApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CMySqlDemoApp?object
CMySqlDemoApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CMySqlDemoApp?initialization
BOOL?CMySqlDemoApp::InitInstance()
{
if?(!AfxSocketInit())
{
AfxMessageBox(IDP_SOCKETS_INIT_FAILED);
return?FALSE;
}
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
CMySqlDemoDlg?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;
}
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件???????1629??2007-07-14?18:18??MySqlDemo\MySqlDemo.clw
?????文件???????3633??2007-07-14?14:47??MySqlDemo\ReadMe.txt
?????文件???????1357??2007-07-14?14:47??MySqlDemo\MySqlDemo.h
?????文件???????2199??2007-07-14?14:47??MySqlDemo\MySqlDemo.cpp
?????文件??????49664??2007-07-14?18:18??MySqlDemo\MySqlDemo.opt
?????文件????????211??2007-07-14?14:47??MySqlDemo\StdAfx.cpp
?????文件???????4251??2007-07-14?16:05??MySqlDemo\MySqlDemo.dsp
?????文件????????543??2007-07-14?14:48??MySqlDemo\MySqlDemo.dsw
?????文件??????58368??2007-07-14?18:18??MySqlDemo\MySqlDemo.ncb
?????文件???????1727??2007-07-14?18:18??MySqlDemo\MySqlDemo.plg
?????文件???????2268??2013-02-26?21:55??MySqlDemo\Debug\MySqlDemo.log
?????文件?????????40??2013-02-26?21:55??MySqlDemo\Debug\MySqlDemo.lastbuildstate
?????文件????1084416??2013-02-26?21:55??MySqlDemo\Debug\vc100.idb
?????文件???20643840??2013-02-26?20:54??MySqlDemo\Debug\MySqlDemo.pch
?????文件????2330624??2013-02-26?21:55??MySqlDemo\Debug\vc100.pdb
?????文件?????562024??2013-02-26?20:54??MySqlDemo\Debug\StdAfx.obj
?????文件??????31702??2013-02-26?21:55??MySqlDemo\Debug\CL.read.1.tlog
?????文件????????820??2013-02-26?21:55??MySqlDemo\Debug\CL.write.1.tlog
?????文件???????2234??2013-02-26?21:55??MySqlDemo\Debug\cl.command.1.tlog
?????文件??????26498??2013-02-26?20:55??MySqlDemo\Debug\MySqlDemo.obj
?????文件??????84708??2013-02-26?21:41??MySqlDemo\Debug\MySqlDemo.res
?????文件???????2948??2013-02-26?21:41??MySqlDemo\Debug\rc.read.1.tlog
?????文件????????318??2013-02-26?21:41??MySqlDemo\Debug\rc.write.1.tlog
?????文件????????948??2013-02-26?21:41??MySqlDemo\Debug\rc.command.1.tlog
?????文件????????667??2013-02-26?20:55??MySqlDemo\Debug\MySqlDemo.exe.em
?????文件????????214??2013-02-26?20:55??MySqlDemo\Debug\MySqlDemo_manifest.rc
?????文件????????732??2013-02-26?20:55??MySqlDemo\Debug\MySqlDemo.exe.em
?????文件????1058144??2013-02-26?21:55??MySqlDemo\Debug\MySqlDemo.ilk
?????文件??????????2??2013-02-26?21:55??MySqlDemo\Debug\li
?????文件??????????2??2013-02-26?21:55??MySqlDemo\Debug\li
............此處省略72個(gè)文件信息
評(píng)論
共有 條評(píng)論