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

📄 student.cpp

📁 用VC写的一个学生成绩管理系统
💻 CPP
字号:
// Student.cpp : implementation file
//

#include "stdafx.h"
#include "cj.h"
#include "Student.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CStudent

IMPLEMENT_DYNCREATE(CStudent, CDocument)

CStudent::CStudent()
{
}

BOOL CStudent::OnNewDocument()
{
	if (!CDocument::OnNewDocument())
		return FALSE;
	return TRUE;
}

CStudent::~CStudent()
{
}


BEGIN_MESSAGE_MAP(CStudent, CDocument)
	//{{AFX_MSG_MAP(CStudent)
		// NOTE - the ClassWizard will add and remove mapping macros here.
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CStudent diagnostics

#ifdef _DEBUG
void CStudent::AssertValid() const
{
	CDocument::AssertValid();
}

void CStudent::Dump(CDumpContext& dc) const
{
	CDocument::Dump(dc);
}
#endif //_DEBUG

/////////////////////////////////////////////////////////////////////////////
// CStudent serialization

void CStudent::Serialize(CArchive& ar)
{
	if (ar.IsStoring())
	{
	
		// TODO: add storing code here
	}
	else
	{
		// TODO: add loading code here
	}
}

/////////////////////////////////////////////////////////////////////////////
// CStudent commands

BOOL CStudent::stdstore()
{
CFile Studentinfor;
if(!Studentinfor.Open("studentinfor.txt",CFile::modeCreate|CFile::modeReadWrite))
  return FALSE;

else 
  return TRUE;
}

⌨️ 快捷键说明

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