⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 os.h

📁 本源码为移动公司话费查询中间件TUXEDO使用的实例
💻 H
字号:
/*****************************************
	File:		OS.h

	date:       2001.7.25

	Contains:  	OS utility functions. Memory allocation, time, etc.



*/

#ifndef _OS_H_LINYOUHAI
#define _OS_H_LINYOUHAI

#include <time.h>

#ifndef _WIN32
#include <sys/time.h>
#endif

#include <string.h>

class OS
{
	public:
	
		//call this before calling anything else
		static void	Initialize();
		
		static char* GetSysDateTime(char* tmDateTime);
		static char* GetSysDate(char* tmDate,char nFlag = 0);
		static int   GetYear();
		static int   GetMonth();
		static int   GetDay();
		static void GetTime(struct tm* pSysTime);
};



#endif //#define _OS_H_LINYOUHAI

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -