📄 common.h
字号:
#ifndef __COMMON_H__
#define __COMMON_H__
#include <map>
#include <string>
#include <vector>
#include <set>
#include <functional>
#include <iostream>
#include <fstream>
#include <algorithm>
#include <windows.h>
#include <math.h>
#include <float.h>
#include "strtokenizer.h"
#define M_PI 3.1415926535897932385
#define WORD_LIST "WordList.txt"
#define FINAL_ALPHA "Final_Alpha.txt"
#define FINAL_BETA "Final_Beta.txt"
#define TEST_DATA "Test.txt"
struct rank_t
{
int r_str;
double r_val;
};
struct document { int len; int *id; double *cnt; int size; /*int tlen; int *tid; double *tcnt;*/};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -