📄 line.cpp
字号:
// Line.cpp: implementation of the Line class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "System.h"
#include "Line.h"
#include "Busline.h"
#include<afxtempl.h>
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
IMPLEMENT_SERIAL(Line,CObject,0)
Line::Line()
{
Passengerseat=0;
}
Line::~Line()
{
}
void Serialize(CArchive &Ar)
{
if(Ar.IsLoading())
{
#ifdef _DEBUG
afxDump << "Enter Line Archive Loading by Dump!" << "\n";
#endif
Ar>>PassengerID;
Ar>>Passengername;
Ar>>Passengerseat;
}
else
{
Ar<<PassengerID;
Ar<<Passengername;
Ar<<Passengerseat;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -