node.cpp
来自「表达式计算的代码 C C 表达式计算 字符串计算」· C++ 代码 · 共 25 行
CPP
25 行
// Node.cpp: implementation of the Node class.
//
//////////////////////////////////////////////////////////////////////
#include "Node.h"
#include <stdlib.h>
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
//实现默认构造函数
Node::Node(double data,char oper,int kind)
{
this->data =data;
this->oper =oper;
this->kind =kind;
this->leftChild =NULL;
this->rightChild =NULL;
}
//析构函数
Node::~Node()
{
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?