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

📄 user.h

📁 linux下的socket通信和c++
💻 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 + -