lesson.h

来自「学生管理类,很好的」· C头文件 代码 · 共 40 行

H
40
字号
// Lesson.h: interface for the Lesson class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_LESSON_H__BA959420_C712_4139_99B6_B3170D25ECA0__INCLUDED_)
#define AFX_LESSON_H__BA959420_C712_4139_99B6_B3170D25ECA0__INCLUDED_

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

class lesson_node
{
	friend class Lesson;
public:
	lesson_node(int ban,int teac){banNum=ban;teacNum=teac;}
private:
	int banNum;
	int teacNum;
	lesson_node *next;
};



class Lesson  
{
public:
	Lesson();
	virtual ~Lesson();
	Lesson();
	void chgLesson();
	void creatLesson();
	void showLesson();	
protected:
	lesson_node *first,*last,*iterator;	

};

#endif // !defined(AFX_LESSON_H__BA959420_C712_4139_99B6_B3170D25ECA0__INCLUDED_)

⌨️ 快捷键说明

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