vigenere_cipher.h

来自「这是我编的包括古典密码」· C头文件 代码 · 共 55 行

H
55
字号
#if !defined(AFX_VIGENERE_CIPHER_H__D9105435_8C3B_4ED8_B653_93369DB2EE42__INCLUDED_)
#define AFX_VIGENERE_CIPHER_H__D9105435_8C3B_4ED8_B653_93369DB2EE42__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CVigenere_Cipher dialog

class CVigenere_Cipher : public CDialog
{
// Construction
public:
	CString Translation(CString phrase);
	void Trans_Dialog(CWnd *temp);
	CVigenere_Cipher(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CVigenere_Cipher)
	enum { IDD = IDD_VIGENERE_CIPHER };
	CString	m_KeyWord;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CVigenere_Cipher)
	afx_msg void OnEncipher();
	afx_msg void OnDecipher();
	afx_msg void OnQuit();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	CString m_RKeyWord;
	CString m_Ciphertext;
	CString m_Plaintext;
};

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

#endif // !defined(AFX_VIGENERE_CIPHER_H__D9105435_8C3B_4ED8_B653_93369DB2EE42__INCLUDED_)

⌨️ 快捷键说明

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