aidlg.h
来自「1、采用(1)盲目搜索(2)启发式搜索对凯撒密文进行自动解密。 2、对替代法加」· C头文件 代码 · 共 69 行
H
69 行
// AIDlg.h : header file
//
#if !defined(AFX_AIDLG_H__CFAD4879_2E91_4FF9_9B91_3790633B63E2__INCLUDED_)
#define AFX_AIDLG_H__CFAD4879_2E91_4FF9_9B91_3790633B63E2__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CAIDlg dialog
class CAIDlg : public CDialog
{
// Construction
public:
CAIDlg(CWnd* pParent = NULL); // standard constructor
CStringList plist[29];
CStringList pWordList;
CStringList pKaiSaList;
CStringList pRebackList;
// Dialog Data
//{{AFX_DATA(CAIDlg)
enum { IDD = IDD_AI_DIALOG };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CAIDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual int GetWord();
virtual int FindWord(CString csTemp);
virtual int KaiSa(int add);
virtual CString CharacterMap(int add);
virtual CString ShowMingwen(int add);
virtual int Max(int *p);
virtual int TestWordLength(CString str);
//代入法
virtual int TwoKindFind(CString csWord,int flag);
virtual char CountTimes();
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CAIDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnButton1();
afx_msg void OnButton2();
afx_msg void OnButton4();
afx_msg void OnButton3();
afx_msg void OnButton5();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_AIDLG_H__CFAD4879_2E91_4FF9_9B91_3790633B63E2__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?