📄 functions.h
字号:
#ifndef FUNCTIONS_CLASS
#define FUNCTIONS_CLASS#include <iostream>#include <string>#include <map>using namespace std;#include <pcre.h>#include <stdlib.h>#include <time.h>
class Functions
{
public: static int get_time(string &s);
static int pcre_match(string pattern, string &subject, int *poffset, map<int, string> &match_result, int *p=NULL);
static unsigned int PowUInt(unsigned int a, unsigned int b);
static string GetUrlDomain(string url);
static string getString(string text, int pos);
static int Hex2Decimal(string hex);
Functions();
virtual ~Functions();
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -