📄 083007_nadoc.cpp
字号:
// 083007_NADoc.cpp : implementation of the CMy083007_NADoc class
//
#include "stdafx.h"
#include "083007_NA.h"
#include "Input.h"
#include "083007_NADoc.h"
#include "NumAnalysis.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CMy083007_NADoc
IMPLEMENT_DYNCREATE(CMy083007_NADoc, CDocument)
BEGIN_MESSAGE_MAP(CMy083007_NADoc, CDocument)
//{{AFX_MSG_MAP(CMy083007_NADoc)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CMy083007_NADoc construction/destruction
CMy083007_NADoc::CMy083007_NADoc()
{
// TODO: add one-time construction code here
}
CMy083007_NADoc::~CMy083007_NADoc()
{
}
BOOL CMy083007_NADoc::OnNewDocument()
{
if (!CDocument::OnNewDocument())
return FALSE;
// TODO: add reinitialization code here
// (SDI documents will reuse this document)
return TRUE;
}
/////////////////////////////////////////////////////////////////////////////
// CMy083007_NADoc serialization
void CMy083007_NADoc::Serialize(CArchive& ar)
{
if (ar.IsStoring())
{
// TODO: add storing code here
}
else
{
// TODO: add loading code here
}
}
/////////////////////////////////////////////////////////////////////////////
// CMy083007_NADoc diagnostics
#ifdef _DEBUG
void CMy083007_NADoc::AssertValid() const
{
CDocument::AssertValid();
}
void CMy083007_NADoc::Dump(CDumpContext& dc) const
{
CDocument::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CMy083007_NADoc commands
/*
void CMy083007_NADoc::OnNewton()
{
int A,B;
float C,D;
CInput myDlg;
if(myDlg.DoModal()!=IDOK){
return;
}
A=myDlg.m_A1;
B=myDlg.m_B1;
C=myDlg.m_CHUZHI;
D=myDlg.m_WUCHA;
ans=naly.Newton(A,B,C,D);
// vw.showans(ans);
//MessageBox("ans=",ans);
// UpdateAllViews(NULL);
}*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -