m.cpp

来自「这是一些c++例程」· C++ 代码 · 共 26 行

CPP
26
字号
// M.cpp: implementation of the M class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "M.h"
#include "iostream.h"

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


M::~M()
{

}
void M::f1(M m)
{
	cout<<"A = "<<m.A<<endl;
	cout<<"B = "<<B<<endl;
}

int M::B=0;

⌨️ 快捷键说明

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