coursescore.cpp
来自「一个简单的VC++学生信息管理系统源代码」· C++ 代码 · 共 36 行
CPP
36 行
// CourseScore.cpp: implementation of the CCourseScore class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "CourseScore.h"
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CCourseScore::CCourseScore()
{
m_strCourseName = "";
m_iScore = 0;
m_strTeacher = "";
}
CCourseScore::CCourseScore(string strCourseName,
string strTeacher,
int iScore):m_strCourseName(strCourseName),
m_iScore(iScore),
m_strTeacher(strTeacher)
{
// fstream outfile;
// outfile.open("bachchengji.txt",ios::app|ios::out);
// outfile<<m_strNo<<"\t"<<m_strName<<"\t"<<m_iGrade<<endl;
// outfile.close();
}
CCourseScore::~CCourseScore()
{
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?