string.h

来自「一个在linux下的shell的计算器」· C头文件 代码 · 共 41 行

H
41
字号
/* * * * */#ifndef __STRING_H#define __STRING_H#include <string>#include "item.h"class String: public Item{ private:   std::string value; public:   String(std::string s);   ~String(); // Virtual Methods    Item *Clone();     virtual std::string ToString() const; // Accesor methods   std::string GetValue() const;   void SetValue(std::string s);};#endif

⌨️ 快捷键说明

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