⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 combineredballdlg.h

📁 一个关于怎样模拟双色球彩票的代码 非常好的哦~~ 直接在VC++6 可编译
💻 H
字号:
#if !defined(AFX_COMBINEREDBALLDLG_H__C79D184E_3073_4EC0_A484_67A36B4B9231__INCLUDED_)
#define AFX_COMBINEREDBALLDLG_H__C79D184E_3073_4EC0_A484_67A36B4B9231__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// CombineRedBallDlg.h : header file
//

#include <afxtempl.h>
/////////////////////////////////////////////////////////////////////////////
// CCombineRedBallDlg dialog

class CCombineRedBallDlg : public CDialog
{
// Construction
public:
	CCombineRedBallDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CCombineRedBallDlg)
	enum { IDD = IDD_COMBINE_DIALOG };
	CString	m_csAnySelect6;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CCombineRedBallDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CCombineRedBallDlg)
	afx_msg void OnRadioFrom33Select6();
	afx_msg void OnRadioAnySelect6();
	afx_msg void OnButtonStart();
	afx_msg void OnButtonClose();
	virtual BOOL OnInitDialog();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

private:
    int CombineRed(int a[], int n, int m);
    int RedCombine(CArray<int, int> &arnSpecifiedRedBall, int n, int m);

    bool CheckSameNumber(CStringArray &m_arcsSpecifiedRedBallInfo);
    bool CheckNumberRange(CStringArray &m_arcsSpecifiedRedBallInfo);
                           

private:
     CFile myFile;
     time_t  m_ltime; 
     struct  tm  *pCurrentTime;
     CString m_csCurrentTime;
     bool m_bIsFrom33Select6;
     bool m_bIsAnySelect6;
     CArray<int, int> m_arnSpecifiedRedBallInfo;
     CStringArray m_arcsSpecifiedRedBallInfo;
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_COMBINEREDBALLDLG_H__C79D184E_3073_4EC0_A484_67A36B4B9231__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -