functions.h
来自「功能强大的网络蜘蛛软件」· C头文件 代码 · 共 24 行
H
24 行
#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 + =
减小字号Ctrl + -
显示快捷键?