📄 spreadsheetcell.h
字号:
#include <string>using std::string;class SpreadsheetCell{ public: SpreadsheetCell(); SpreadsheetCell(double initialValue); SpreadsheetCell(const string& initialValue); SpreadsheetCell(const SpreadsheetCell &src); SpreadsheetCell& operator=(const SpreadsheetCell& rhs); void setValue(double inValue); double getValue(); void setString(const string& inString); string getString(); protected: string doubleToString(double inValue); double stringToDouble(const string& inString); double mValue; string mString;};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -