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

📄 point.h

📁 清华大学-数据结构 清华大学-数据结构 清华大学-数据结构
💻 H
字号:
#ifndef POINT_H
#define POINT_H

class Point{
public:
    Point( int,int );
    Point( Point & );
    ~Point();
    int get_x();
    int get_x();
    Point operator + (Point);
    Point operator + ( int );
    Point operator * ( int );
    int operator > (Point);
    int operator < (Point);
    int operator = (Point & );
  private:
    int x;
    int y;
    friend istream& operator >> ( istream &,Point &);
    friend ostream& operator << ( istream &,Point &);
};
#endif

⌨️ 快捷键说明

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