📄 lottarystruct.h
字号:
// LottaryStruct.h: interface for the CLottaryStruct class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_LOTTARYSTRUCT_H__D1FCD2CC_D24C_4DD2_B97F_5D20881DC8BA__INCLUDED_)
#define AFX_LOTTARYSTRUCT_H__D1FCD2CC_D24C_4DD2_B97F_5D20881DC8BA__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#define NUM_RED 6
#define NUM_BLUE 1
class CLottaryStruct
{
private:
public:
int date;
int *RedBall;
int *BlueBall;
int *FallBall;
// int RedBall[NUM_RED];
// int BlueBall[NUM_BLUE];
int nAllSum;//sum;
int nRedSum;
double AllAverage;//AllAverage
double RedAverage;
int nRedOdd;
int nAllOdd;
int nRedEven;
int nAllEven;
//even to odd
int intervals[NUM_RED-1];
int numIn4Zone[4];//numbers in 4 zones;
int recur[5];// recur balls
// int GetNewLottary();
int GetRedSum();
int GetAllSum();
double GetAllAverage();
double GetRedAverage();
int GetAllOdd();
int GetRedOdd();
void GetNumIn4Zone();
void GetIntervals();
int RecurBalls();
CLottaryStruct();
~CLottaryStruct();
};
#endif // !defined(AFX_LOTTARYSTRUCT_H__D1FCD2CC_D24C_4DD2_B97F_5D20881DC8BA__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -