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

📄 cryptdoc.cpp

📁 包涵了密码学教程里面的大部分加密算法
💻 CPP
字号:
// CryptDoc.cpp : implementation of the CCryptDoc class
//

#include "stdafx.h"
#include "Crypt.h"
#include "CaesarDlg.h"
#include "CryptDoc.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CCryptDoc

IMPLEMENT_DYNCREATE(CCryptDoc, CDocument)

BEGIN_MESSAGE_MAP(CCryptDoc, CDocument)
	//{{AFX_MSG_MAP(CCryptDoc)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CCryptDoc construction/destruction

CCryptDoc::CCryptDoc()
{
	// TODO: add one-time construction code here

}

CCryptDoc::~CCryptDoc()
{
}

BOOL CCryptDoc::OnNewDocument()
{
	if (!CDocument::OnNewDocument())
		return FALSE;

	// TODO: add reinitialization code here
	// (SDI documents will reuse this document)

	return TRUE;
}



/////////////////////////////////////////////////////////////////////////////
// CCryptDoc serialization

void CCryptDoc::Serialize(CArchive& ar)
{
	if (ar.IsStoring())
	{
		// TODO: add storing code here
	}
	else
	{
		// TODO: add loading code here
	}
}

/////////////////////////////////////////////////////////////////////////////
// CCryptDoc diagnostics

#ifdef _DEBUG
void CCryptDoc::AssertValid() const
{
	CDocument::AssertValid();
}

void CCryptDoc::Dump(CDumpContext& dc) const
{
	CDocument::Dump(dc);
}
#endif //_DEBUG

/////////////////////////////////////////////////////////////////////////////
// CCryptDoc commands

⌨️ 快捷键说明

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