student.h

来自「一系列的c++例子 一步一步由浅入深 有 聊天室」· C头文件 代码 · 共 28 行

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

#if !defined(AFX_STUDENT_H__A9FB3C0E_9BC7_4077_AD2C_C4497A740510__INCLUDED_)
#define AFX_STUDENT_H__A9FB3C0E_9BC7_4077_AD2C_C4497A740510__INCLUDED_

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

class CStudent : public CObject  
{

public:
	long m_nCode;
	CString m_sName;
	long m_lAge;
	double m_lScore;

	CStudent();
	CStudent(long,CString,long ,double);
	virtual ~CStudent();

};

#endif // !defined(AFX_STUDENT_H__A9FB3C0E_9BC7_4077_AD2C_C4497A740510__INCLUDED_)

⌨️ 快捷键说明

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