sc.cpp
来自「数据库编程」· C++ 代码 · 共 43 行
CPP
43 行
// SC.cpp: implementation of the CSC class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "Course.h"
#include "SC.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CSC::CSC()
{
student_id="";
course_id="";
}
CSC::~CSC()
{
}
void CSC::Set(CString x ,CString y)
{
student_id=x;
course_id=y;
}
CString CSC::GetStudent_id()
{
return student_id;
}
CString CSC::GetCourse_id()
{
return course_id;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?