代码改变世界

阅读排行榜

In c++ access control works on per-class basis not on per-object basis.

2014-01-01 18:21 by hongjiumu, 255 阅读, 收藏,
摘要: #ifndef MYTIME_H #define MYTIME_H class MyTime { private: int m_hour; int m_minute; public: MyTime(int hour,int minute=0); ~MyTime(); MyTime operator+(const MyTime & time) const; void Show(); //int GetHour() const; //int GetMinute() const; }; #endif #include "... 阅读全文

CMoReader

2014-02-22 23:54 by hongjiumu, 254 阅读, 收藏,
摘要: #ifndef __E3GLOGLOADBYFILE_H__ #define __E3GLOGLOADBYFILE_H__ #include "PubCommon\MemoryManager.h" #include "PubCommon.h" //------------------------ // 读取内存中的 LOG 文件 //------------------------ class CMoReader { public: CMoReader(Win32Tools::CMemoryManager* pMemMgr); virtual ~CMoR 阅读全文

利用DllImport来移动文件,真快!

2012-08-03 10:40 by hongjiumu, 254 阅读, 收藏,
摘要: using System;using System.Runtime.InteropServices;namespace ConsoleApplication1{ class Program { [DllImport("kernel32.dll")] static extern bool MoveFile(string lpExistingFile,string lpNewFileName); static void Main(string[] args) { string srcFileName=@"c:\1.txt"; string dstFi... 阅读全文

CMoLineMgr

2014-03-08 17:41 by hongjiumu, 249 阅读, 收藏,
摘要: #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 阅读全文

同时取得架构和表名

2013-10-19 11:09 by hongjiumu, 248 阅读, 收藏,
摘要: SELECT '['+TABLE_SCHEMA+'].['+TABLE_NAME+']' FROM INFORMATION_SCHEMA.TABLES 阅读全文
上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 42 下一页