📄 binnode.cpp
字号:
#include "StdAfx.h"
#include ".\binnode.h"
#include <string>
//BinNode::BinNode(void)
BinNode::~BinNode(void)
{
}
/*void BinNode::SetInfo(StuInfo sl)
{
cout<<"please input the Name:\n";
cin>>sl.Name;
cout<<"please enter the Number:\n";
cin>>sl.Num;
cout<<"please write the Score:\n";
cin>>sl.Score;
sl.setName(sl.Name);
}*/
BinNode::BinNode(StuInfo st,BinNode *lChild,BinNode* rChild)
{
lChild=NULL;
rChild=NULL;
strcpy(this->stInfo.Name,st.Name);
strcpy(this->stInfo.Num,st.Num);
this->stInfo.Score=st.Score;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -