intobject.cpp
来自「堆栈的一点研究」· C++ 代码 · 共 25 行
CPP
25 行
// IntObject.cpp: implementation of the CIntObject class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "IntObject.h"
#include "iostream.h"
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CIntObject::CIntObject(int V):m_data(V)
{
}
CIntObject::~CIntObject()
{
}
void CIntObject::Print()
{
cout<<m_data;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?