student.h

来自「数据库编程」· C头文件 代码 · 共 34 行

H
34
字号
// Student.h: interface for the Student class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_STUDENT_H__AB9657CF_3FDF_4839_85B5_8B07EB9A468D__INCLUDED_)
#define AFX_STUDENT_H__AB9657CF_3FDF_4839_85B5_8B07EB9A468D__INCLUDED_

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

class CStudent  
{
public:
	CStudent();
	virtual ~CStudent();
	void Set(CString x,CString y,CString z,CString w);
	CString GetName();
	CString GetNum();
	CString GetPassword();
	CString GetClass();
	void SetName(CString x);
	void SetNum(CString x);
	void SetPassword(CString x);
	void SetClass(CString x);
private:
	CString name;
	CString num;
	CString password;
	CString Class;
};

#endif // !defined(AFX_STUDENT_H__AB9657CF_3FDF_4839_85B5_8B07EB9A468D__INCLUDED_)

⌨️ 快捷键说明

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