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

📄 playfair.h

📁 1、对于凯撒密文
💻 H
字号:
// Playfair.h: interface for the CPlayfair class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_PLAYFAIR_H__9F4542E8_7CE1_4746_9E06_5FA05000A7AE__INCLUDED_)
#define AFX_PLAYFAIR_H__9F4542E8_7CE1_4746_9E06_5FA05000A7AE__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "Cipher.h"
#include <utility>
using namespace std;
class CPlayfair : public CCipher  
{
public:
//	pair <int,int> m_letterPosition[150];
	CString m_plainString;
	CString m_cipherString;
//	CString m_key;
//	void SetKey();
//	char grid[5][5];
	void Decipher(char grid[5][5],pair<int,int> m_letterPosition[150]);
	void Encipher(char grid[5][5] , pair <int,int> m_letterPosition[150]);
	CPlayfair();
	virtual ~CPlayfair();

};

#endif // !defined(AFX_PLAYFAIR_H__9F4542E8_7CE1_4746_9E06_5FA05000A7AE__INCLUDED_)

⌨️ 快捷键说明

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