⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 question.h

📁 用VC编的学生成绩管理系统,包括成绩录入和分数的计算等功能.
💻 H
字号:


// Creat a class of questions:
enum {Sel,Fil,Wri};
class QuestionBase    // Base Class
{
public:
	CString qname;    // Used to store the name of the questions.
	CString qtext;    // Used to store the text of the questions.
	float qdif;       // Used to store the difficult level.
	CString style;        // The style of the question.
public:
	QuestionBase();
	~QuestionBase();
private:

};
class QuestionSel: public QuestionBase  // Selective Question Class
{
public:
	char qans;        // The answer of the question.
	static int num;   // The number of this kind of questions.
public:
	QuestionSel();
	~QuestionSel();
};
class QuestionFil: public QuestionBase  // Fill in Blank Question Class
{
public:
	CString qans;
	static int num;   // The number of this kind of questions.
public:
	QuestionFil();
	~QuestionFil();
};
class QuestionWri: public QuestionBase  // Writing Answer Question Class
{
public:
	CString qans;
	static int num;   // The number of this kind of questions.
public:
	QuestionWri();
	~QuestionWri();
};


⌨️ 快捷键说明

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