摘要:
#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 阅读全文
浙公网安备 33010602011771号