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

📄 binnode4.h

📁 data structures, algorithms and Application书的源代码
💻 H
字号:


#ifndef Node_
#define Node_

template <class T> class Chain;

class Node {
   friend ostream& operator<<(ostream&, const Node &);
   friend void BinSort(Chain<Node>&, int);
   friend int F1(Node&);
   friend int F2(Node&);
   friend int F3(Node&);
   friend void main(void);
   public:
      operator int() const {return exam1;}
   private:
      int exam1, exam2, exam3;
      int name;
};

ostream& operator<<(ostream& out, const Node& x)
{
   out << x.name << ' ' << x.exam1 << ' ' << x.exam2 
       << ' ' << x.exam3 << endl;
    return out;
}

#endif

⌨️ 快捷键说明

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