📄 geneticdlg.h
字号:
#if !defined(AFX_GENETICDLG_H__2C7CB8E9_CFDF_4F05_B509_FE1AD4ACFE33__INCLUDED_)
#define AFX_GENETICDLG_H__2C7CB8E9_CFDF_4F05_B509_FE1AD4ACFE33__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// GeneticDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CGeneticDlg dialog
#include "StringResolution.h"
class CGeneticDlg : public CDialog
{
// Construction
public:
CGeneticDlg(CWnd* pParent = NULL); // standard constructor
double b[3];
int precision;
int m_count;
// Dialog Data
//{{AFX_DATA(CGeneticDlg)
enum { IDD = IDD_GENETIC };
CProgressCtrl m_progress;
int m_binary;
CString m_text2;
CString m_text1;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CGeneticDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
void GetLength();
void real();
void binary();
CString FormerVariable,LastVariable1,LastVariable2,StrArray[31];
// Generated message map functions
//{{AFX_MSG(CGeneticDlg)
afx_msg void OnButton1();
afx_msg void OnTimer(UINT nIDEvent);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
double ReturnOptResult(CString str);
CStringResolution M_FORMULA1;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_GENETICDLG_H__2C7CB8E9_CFDF_4F05_B509_FE1AD4ACFE33__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -