pdfset.cpp

来自「学习内幕第伍版时基于ScrollView类做的一个小程序」· C++ 代码 · 共 41 行

CPP
41
字号
// Pdfset.cpp: implementation of the CPdfset class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "SaveFile.h"
#include "Pdfset.h"

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

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

CPdfset::CPdfset()
{
	m_strPath="";
	m_strName="";
}

CPdfset::~CPdfset()
{

}

void CPdfset::Serialize(CArchive& ar)
{
if (ar.IsStoring())
	{
		ar << m_strName  <<  m_strPath;
	}
	else
	{
		ar >> m_strName  >> m_strPath;
	}
}

⌨️ 快捷键说明

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