⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 binnode.h

📁 VC++.net下用链表实现的学生信息管理系统
💻 H
字号:
#pragma once
#include <iostream>
using namespace std;

class StuInfo
{
public :
	char Name[30];
	char Num[15];
	int Score;
	StuInfo()
	{
		/*cout<<"创建节点数据信息\n";
		cout<<"请输入姓名\n";
		cin>>this->Name;
		cout<<"请输入学号 (6位int)\n";
		cin>>this->Num;
		cout<<"请输入成绩 Between 0 and 100";
		cin>>this->Score;*/
	}
/*public:
	void setName(char Name[])
	{
		strcpy(this->Name,Name);
	}
	void setNub(char Num)
	{
		strcpy(this->Num,Num);
	}
	void setScore()
	{
		this->Score=Score;
	}*/
};
class BinNode
{
	friend class BinTree;
public:
	BinNode(void):lChild(NULL),rChild(NULL)
	{}
	BinNode(StuInfo st,BinNode *lChild=NULL,BinNode* rChild=NULL);
	virtual ~BinNode(void);
	
private:
	StuInfo stInfo;
	BinNode *lChild,*rChild;

};


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -