www.pudn.com > TempProj.rar > StudentInfo.cpp, change:2004-10-27,size:780b


// StudentInfo.cpp: implementation of the CStudentInfo class. 
// 
////////////////////////////////////////////////////////////////////// 
 
#include "stdafx.h" 
#include "TempProj.h" 
#include "StudentInfo.h" 
 
#ifdef _DEBUG 
#undef THIS_FILE 
static char THIS_FILE[]=__FILE__; 
#define new DEBUG_NEW 
#endif 
 
////////////////////////////////////////////////////////////////////// 
// Construction/Destruction 
////////////////////////////////////////////////////////////////////// 
 
CStudentInfo::CStudentInfo() 
{ 
 
} 
 
CStudentInfo::~CStudentInfo() 
{ 
 
} 
 
void CStudentInfo::ReadStudentInfo(CArchive &ar) 
{ 
	ar>>m_Name>>m_Sex>>m_Age>>m_Class>>m_Score; 
 
} 
 
void CStudentInfo::SaveStudentInfo(CArchive &ar) 
{ 
	ar<<m_Name<<m_Sex<<m_Age<<m_Class<<m_Score; 
 
}