📄 os.h
字号:
#ifndef _OS_H_
#define _OS_H_
#pragma warning(disable:4786)
#include <math.h>
#include <deque>
#include <cmath>
#include <time.h>
#include <iomanip>
#ifndef _PLANT_H_
#include "Plant.h"
#endif
#ifndef _TABULIST_H_
#include "TabuList.h"
#endif
#define STEP_MAX 1.2
#define STEP_MIN 0.8
#define P_MAX 0.8
#define P_MIN 0.2
#define ERROR_LEVEL 0.05
void GetDataOfString(vector<double > &vec,string str,char compart);
double getrandom(double l,double h);
int getrandom(int l,int h);
int between(double l,double h,double x);
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -