?? criptview.h
字號:
// criptView.h : interface of the CCriptView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_CRIPTVIEW_H__7E376046_2EAA_43D2_909A_78CF8F436303__INCLUDED_)
#define AFX_CRIPTVIEW_H__7E376046_2EAA_43D2_909A_78CF8F436303__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#define VAR_H 1
class CCriptView : public CView
{
protected: // create from serialization only
CCriptView();
DECLARE_DYNCREATE(CCriptView)
// Attributes
public:
CCriptDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCriptView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
//}}AFX_VIRTUAL
// Implementation
public:
void c2m_pp(char m[], char c[], char k[], int nm);
void m2c_pp(char m[] , char c[] , char k[],int nm);
void Disply_V();
virtual ~CCriptView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CCriptView)
afx_msg void OnTest();
afx_msg void OnSetkeym();
afx_msg void OnDsf();
afx_msg void OnEsf();
afx_msg void OnVige();
afx_msg void OnSetCaesaKey();
afx_msg void OnSetVigenereKey();
afx_msg void OnSetDESKey();
afx_msg void OnSetRSAKey();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
void ESF_DES();
void DSF_RSA();
void ESF_RSA();
void DSF_3DES();
void ESF_3DES();
void DSF_DES();
void closefiles();
bool openfile(UINT opType);
CFile fm,fc;
void DSFvige();
void ESFvige();
void DSFCaesar();
void ESFCaesar();
};
#ifndef _DEBUG // debug version in criptView.cpp
inline CCriptDoc* CCriptView::GetDocument()
{ return (CCriptDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CRIPTVIEW_H__7E376046_2EAA_43D2_909A_78CF8F436303__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -