integer.h
来自「一个在linux下的shell的计算器」· C头文件 代码 · 共 43 行
H
43 行
/* * * * */#ifndef __INTEGER_H#define __INTEGER_H#include "item.h"class Integer: public Item{ private: long value; public: Integer(long i); ~Integer(); // Virtual Methods Item *Clone(); long ToInteger() const; double ToDouble() const; std::string ToString() const; // Accesor methods long GetValue() const; void SetValue(long i);};#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?