📄 node.cpp
字号:
// node.cpp : implementation file
//
#include "stdafx.h"
#include "kchengji.h"
#include "node.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// node
IMPLEMENT_DYNCREATE(node, CCmdTarget)
node::node()
{
}
node::~node()
{
}
//BEGIN_MESSAGE_MAP(node, CCmdTarget)
//{{AFX_MSG_MAP(node)
// NOTE - the ClassWizard will add and remove mapping macros here.
//}}AFX_MSG_MAP
//END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// node message handlers
void node::set(int nend, int nnow, int nparent)
{
endpos=nend;
nowmul=nnow;
parent=nparent;
}
node::node(int nend, int nnow, int nparent)
{
endpos=nend;
nowmul=nnow;
parent=nparent;
}
/*
void node::operator =(node *a)
{
endpos=a->endpos;
nowmul=a->nowmul;
parent=a->parent;
}*/
/*
void node::operator =(node *a)
{
endpos=a->endpos;
nowmul=a->nowmul;
parent=a->parent;
}
*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -