studentinfo.h
来自「深入浅出Visual C++入门进阶与应用实例 随书光盘 作者 何志丹」· C头文件 代码 · 共 27 行
H
27 行
// StudentInfo.h: interface for the CStudentInfo class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_STUDENTINFO_H__2F3ACE07_FED7_4202_8C69_17F19621D6E6__INCLUDED_)
#define AFX_STUDENTINFO_H__2F3ACE07_FED7_4202_8C69_17F19621D6E6__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CStudentInfo
{
public:
enum STU_SEX{MALE = 0 ,FEMAIL = 1} ;//性别
CStudentInfo();
CStudentInfo(UINT uID,CString strName,enum STU_SEX eSex,CString strHomePlace);
virtual ~CStudentInfo();
UINT m_uID ;//学号,学生的唯一标识
CString m_strName ;//学生姓名
STU_SEX m_eSex ;//学生性别
CString m_strHomePlace ;//学生籍贯
};
#endif // !defined(AFX_STUDENTINFO_H__2F3ACE07_FED7_4202_8C69_17F19621D6E6__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?