?? users.h
字號:
// Users.h: interface for the CUsers class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_USERS_H__451F3215_5B38_48AF_8D6D_A4361016F23E__INCLUDED_)
#define AFX_USERS_H__451F3215_5B38_48AF_8D6D_A4361016F23E__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CUsers
{
private:
CString UserName;
CString Pwd;
int User_type;
public:
CUsers();
virtual ~CUsers();
CString GetUserName();
void SetUserName(CString cUserName);
CString GetPwd();
void SetPwd(CString cPwd);
int GetUser_type();
void SetUser_type(int iUser_type);
//數據庫操作
int HaveName(CString cUserName); //判斷指定用戶名是否存在
void sql_insert();
void sql_updatePwd(CString cUserName);
void sql_delete(CString cUserName);
//讀取所有字段值
void GetData(CString cUserName);
};
#endif // !defined(AFX_USERS_H__451F3215_5B38_48AF_8D6D_A4361016F23E__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -