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

📄 account.h

📁 很好的VC操作数据库的学习源码
💻 H
字号:
// Account.h: interface for the Account class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_ACCOUNT_H__AA9F2FF3_A7F7_48A5_A516_A4A1CBB2E2E0__INCLUDED_)
#define AFX_ACCOUNT_H__AA9F2FF3_A7F7_48A5_A516_A4A1CBB2E2E0__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class Account  
{
private:
	CString UserId;
	CString UserName;
	CString UserPwd;
	long UserMoney;
public:
	Account();
	virtual ~Account();
	CString GetUserId();
	void SetUserId(int vUserId);
	CString GetUserName();
	void SetUserName(CString cUserName);
	CString GetUserPwd();
	void SetUserPwd(CString cUserPwd);
	long GetUserMoney();
	void SetUserMoney(long lUserMoney);
public:
	BOOL GetData(CString cUserId);
	void Saving(CString cUserId,long lusermoney);
	int Withdraw(CString cUserId,long lusermoney);

};

#endif // !defined(AFX_ACCOUNT_H__AA9F2FF3_A7F7_48A5_A516_A4A1CBB2E2E0__INCLUDED_)

⌨️ 快捷键说明

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