caeser_cipher.h

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

H
54
字号
#if !defined(AFX_AESER_CIPHER_H__9C665D13_EFE4_45C6_BC82_049775C93C63__INCLUDED_)
#define AFX_AESER_CIPHER_H__9C665D13_EFE4_45C6_BC82_049775C93C63__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// Caeser_Cipher dialog

class CCaeser_Cipher : public CDialog
{
// Construction
public:
	CString translation(CString plaintext,int Value_Shift);
	void Trans_Dialog(CWnd * temp);
	CCaeser_Cipher(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(Caeser_Cipher)
	enum { IDD = IDD_CCAESER_CIPHER };
	int		m_Value_Shift;
	//}}AFX_DATA


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

// Implementation
protected:

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

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

#endif // !defined(AFX_AESER_CIPHER_H__9C665D13_EFE4_45C6_BC82_049775C93C63__INCLUDED_)

⌨️ 快捷键说明

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