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

📄 obj.hh

📁 C++作业
💻 HH
字号:
# ifndef Obj_hh# define Obj_hh Obj_hhclass Obj {public:    // Constructors/Destructors    Obj();    Obj(int val);    // Accessors    inline const int &     getVal() const;    // Input/Output    // Miscellaneousprotected:    // Accessors    inline void            setVal(const int & val);    // Methods  private:     // Accessors    inline int &           val();    // Methods     // State    int             _val;};const int & Obj::getVal() const { return _val; }void Obj::setVal(const int & val) { _val = val; }int & Obj::val() { return _val; }# endif // Obj_hh

⌨️ 快捷键说明

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