資源簡(jiǎn)介
此聊天室程序基于MySQL數(shù)據(jù)庫(kù),實(shí)現(xiàn)了頭像閃動(dòng)和好友狀態(tài)處理。數(shù)據(jù)庫(kù)按數(shù)據(jù)字典設(shè)計(jì)
代碼片段和文件信息
//?AdoDb.cpp:?implementation?of?the?CAdoDb?class.
//
//////////////////////////////////////////////////////////////////////
#include?“stdafx.h“
#include?“Char4.h“
#include?“AdoDb.h“
#ifdef?_DEBUG
#undef?THIS_FILE
static?char?THIS_FILE[]=__FILE__;
#define?new?DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
//?Construction/Destruction
//////////////////////////////////////////////////////////////////////
CAdoDb::CAdoDb()
{
????::CoInitialize(NULL);//初始化OLE/COM庫(kù)
????m_pConnection=NULL;//初始化連接指針變量
nResultCol=0;
nResultRow=0;
flag=TRUE;
}
CAdoDb::~CAdoDb()
{
if(m_pConnection)
????????m_pConnection->Close();//關(guān)閉數(shù)據(jù)庫(kù)連接
????m_pConnection=NULL;
::CoUninitialize();//釋放OLE/COM庫(kù)
}
//連接數(shù)據(jù)庫(kù)
BOOL?CAdoDb::AdoConnection(C
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件??????14383??2010-09-19?15:32??數(shù)據(jù)字典.docx
?????文件???????9862??2004-09-20?14:19??Char4.1\1.wav
?????文件???????7258??2002-06-17?12:30??Char4.1\2.wav
?????文件???????2678??2010-09-17?20:50??Char4.1\a.bmp
?????文件???????2050??2010-10-12?16:35??Char4.1\AdoDb.cpp
?????文件????????979??2010-10-12?16:35??Char4.1\AdoDb.h
?????文件???????2888??2010-10-12?16:35??Char4.1\AdoDb1.cpp
?????文件????????803??2010-10-12?16:35??Char4.1\AdoDb1.h
?????文件???????2678??2010-09-17?20:50??Char4.1\b.bmp
?????文件???????2678??2010-09-18?17:09??Char4.1\bai.bmp
?????文件???????2678??2010-09-17?20:50??Char4.1\c.bmp
?????文件??????24220??2010-10-20?09:22??Char4.1\Char4.aps
?????文件???????3617??2010-10-20?20:42??Char4.1\Char4.clw
?????文件???????2827??2010-10-19?16:02??Char4.1\Char4.cpp
?????文件???????5072??2010-10-20?20:17??Char4.1\Char4.dsp
?????文件????????535??2010-10-12?10:37??Char4.1\Char4.dsw
?????文件???????1544??2010-10-19?15:56??Char4.1\Char4.h
?????文件?????238592??2010-10-20?20:42??Char4.1\Char4.ncb
?????文件?????114688??2010-10-20?20:42??Char4.1\Char4.opt
?????文件????????244??2010-10-20?20:28??Char4.1\Char4.plg
?????文件???????8797??2010-10-19?17:07??Char4.1\Char4.rc
?????文件??????21058??2010-10-20?20:16??Char4.1\Char4Dlg.cpp
?????文件???????2336??2010-10-20?19:45??Char4.1\Char4Dlg.h
?????文件???????2678??2010-09-17?20:50??Char4.1\d.bmp
?????文件???????9862??2004-09-20?14:19??Char4.1\Debug\1.wav
?????文件???????7258??2002-06-17?12:30??Char4.1\Debug\2.wav
?????文件???????2678??2010-09-17?20:50??Char4.1\Debug\a.bmp
?????文件??????67196??2010-10-20?09:42??Char4.1\Debug\AdoDb.obj
?????文件??????58889??2010-10-20?09:42??Char4.1\Debug\AdoDb1.obj
?????文件???????2678??2010-09-17?20:50??Char4.1\Debug\b.bmp
............此處省略73個(gè)文件信息
- 上一篇:編譯的中間代碼四元式
- 下一篇:利用opencv編寫的人臉識(shí)別
評(píng)論
共有 條評(píng)論