摘要:什么是索引拿汉语字典的目录页(索引)打比方:正如汉语字典中的汉字按页存放一样,SQL Server中的数据记录也是按页存放的,每页容量一般为4K 。为了加快查找的速度,汉语字(词)典一般都有按拼音、笔画、偏旁部首等排序的目录(索引),我们可以选择按拼音或笔画查找方式,快速查找到需要的字(词)。同理,... 阅读全文
学习mfc书籍
2014-04-22 21:48 by hongjiumu, 391 阅读, 0 推荐, 收藏,
摘要:Visual C++ and MFC Programminghttp://www.math.hcmuns.edu.vn/~tatuana/C%20For%20Win/MFC/Tai%20Lieu%20Tham%20Khao/Visual%20C++%20and%20MFC%20Programming... 阅读全文
VS2010下面Empty Project使用
2014-04-20 10:17 by hongjiumu, 656 阅读, 0 推荐, 收藏,
摘要:VS2010下面Empty Project使用:1,添加代码HelloApp#include class CHelloApp:public CWinApp{public:virtual BOOL InitInstance();};CHelloApp HelloApp;class CHelloWind... 阅读全文
std::string compare
2014-03-08 17:45 by hongjiumu, 2016 阅读, 0 推荐, 收藏,
摘要:#include #define NULL 0 #define MAX_LIMIT 5 //#define MAX_LENGTH 2 bool ComparePC2S(const char *,const std::string &); int main() { const std::string EXIT_STRING="exit"; std::cout<<"Over"<<std::endl; char * pChar(NULL); pChar=new char[MAX_LIMIT]; memset(pChar,' 阅读全文
读CRecordset
2014-03-08 17:44 by hongjiumu, 206 阅读, 0 推荐, 收藏,
摘要:void CDictCol::LoadDictCol(void){// 加载数据字典信息CString cstrSql;cstrSql.Format("SELECT dc.TblID, dc.TblName, dc.ColName, dc.ColIndex ""FROM %s dc WHERE dc.TblID/10000 = %d ORDER BY TblName, ColIndex",DB_TABLE_CFG_DICT_COL.c_str(), E3GLOG_ENS_VERSION_ID);CRecordset* pRecords = m_pOdbc 阅读全文
CMoLineMgr
2014-03-08 17:41 by hongjiumu, 250 阅读, 0 推荐, 收藏,
摘要:#ifndef __E3GLOGOBJECTDB_H__ #define __E3GLOGOBJECTDB_H__ #include "PubCommon\Singleton.h" #include "PubCommon\MemoryManager.h" #include "PubCommon.h" class CMoLineMgr { public: CMoLineMgr(Win32Tools::CMemoryManager* pMemMgr); virtual ~CMoLineMgr(); public: void AddMemL 阅读全文
c++多行字符串,可以这么写
2014-02-23 00:20 by hongjiumu, 7753 阅读, 1 推荐, 收藏,
摘要:c++多行字符串,可以这么写:CString s;s.Format("CREATE TABLE %s(\[ID] [int] IDENTITY(1,1) NOT NULL,\[Vendor] [varchar](10) NULL,\[System] [varchar](4) NULL,\[FileType] [varchar](20) NULL,\[VersionID] [int] NULL,\[BSCNAME] [varchar](64) NULL,\[RNCID] [int] NULL,\[BSCFlg] [int] NULL,\[IsValid] [bit] NULL,\[Ve 阅读全文
CMoReader
2014-02-22 23:54 by hongjiumu, 255 阅读, 0 推荐, 收藏,
摘要:#ifndef __E3GLOGLOADBYFILE_H__ #define __E3GLOGLOADBYFILE_H__ #include "PubCommon\MemoryManager.h" #include "PubCommon.h" //------------------------ // 读取内存中的 LOG 文件 //------------------------ class CMoReader { public: CMoReader(Win32Tools::CMemoryManager* pMemMgr); virtual ~CMoR 阅读全文
浙公网安备 33010602011771号