📄 user.h
字号:
#ifndef USER_H#define USER_H#include <iostream>#include <cstring>using namespace std;class user{private: string id; string ip; bool isonline; public: user(); ~user(); inline string GetID(){return id;} inline string GetIP(){return ip;} inline bool GetState(){return isonline;} inline void SetID(string id){this->id=id;} inline void SetIP(string paswd){this->ip=ip;} inline void SetState(bool flag){isonline=flag;}};#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -