📄 coursescore.h
字号:
// CourseScore.h: interface for the CCourseScore class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_COURSESCORE_H__467D16F1_89C1_43AB_834B_34976C14E3D0__INCLUDED_)
#define AFX_COURSESCORE_H__467D16F1_89C1_43AB_834B_34976C14E3D0__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include <string>
using namespace std;
class CCourseScore
{
public:
CCourseScore();
CCourseScore(string strCourseName,string strTeacher,int iScore);
virtual ~CCourseScore();
string m_strCourseName;
int m_iScore;
string m_strTeacher;
/*void ab()
{
string a="0",b,a_course;
ifstream in("course.txt");
while(a=="0")
{
in>>b;
getline(in,a_course);
if(b==m_strNo)
{
cout<<a_course;
a="1";
}
}
}*/
};
#endif // !defined(AFX_COURSESCORE_H__467D16F1_89C1_43AB_834B_34976C14E3D0__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -