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

📄 operator.h

📁 这是c++编程方面的名著的例子代码
💻 H
字号:
#ifndef _operator__h
#define _operator__h
class operator_type{
protected:
    int Priority;
    char Operator;
    char Function[10];
public:
     operator_type(void);
     operator_type(char N);
     operator_type(const operator_type &N);
     operator_type &operator=(const operator_type &N);
     int operator>(const operator_type &N) const;
     int operator<(const operator_type &N) const;
     int operator==(const operator_type &N) const;
     int operator<=(const operator_type &N) const;
     int operator>=(const operator_type &N) const;
     char op(void);
     void op(char N);
     int priority(void);
     void priority(int Rank);
     char *function(void);
     void function(char *X);
     double function(double);

};

#endif

⌨️ 快捷键说明

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