C++
文章平均质量分 76
evanleun
这个作者很懒,什么都没留下…
展开
-
简单的指针二叉查找树和数组二叉查找树
//指针的二叉查找树//插入比较简单所以就没做了//删除太麻烦等有空再做#includeusing namespace std;templateclass BiNode{public: BiNode(const Elem&, BiNode* pL = NULL, BiNode* pR = NULL); bool IsLeaf(){ return m_pLeft==NULL && m_pRight==NULL; }public: Elem m_Data; BiNode*原创 2010-12-05 18:51:00 · 388 阅读 · 1 评论 -
C++的大作业,简单学生管理系统
<br />这是今年年初大一的C++大作业,由于我是非专业的,写的一般,错误请见谅,不过可以作为参考<br /> <br /> <br />#ifndef HEAD_H#define HEAD_H#include<iostream>#include<fstream>#include<iomanip>#include<algorithm>using namespace std;//数据struct Node;class cScore{protected: int原创 2010-12-05 19:43:00 · 4289 阅读 · 0 评论