📄 caccount.h
字号:
#if !defined(_CACCOUNT_H)
#define _CACCOUNT_H
#include "CDate.h"
#include <string>
using namespace std;
/*帐户注册信息类*/
class CAccount
{
public:
CAccount();
int Getid(void);
void Setid(int id);
string Getname(void);
void Setname(string name);
char Getsex(void);
void Setsex(char sex);
string Getmobilephone(void);
void Setmobilephone(string mobilephone);
CDate Getbirthday(void);
void Setbirthday(CDate birthday);
double Getmoney(void);
void Setmoney(double money);
bool Getisstop(void);
void Setisstop(bool isstop);
private:
bool m_isstop;//是否停用
char m_sex;//性别
int m_id;//编号
double m_money;//余额
string m_name;//名字
string m_mobilephone;//电话
CDate m_birthday;//生日
};
#endif;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -