obj.cpp

来自「uclinux的进程间通信例子」· C++ 代码 · 共 19 行

CPP
19
字号
#include "obj.h"



testObj::testObj()

{

}

testObj::~testObj()

{

}



bool testObj::operator==(testObj &another)

{

	return (this->index == another.index);

}

testObj& testObj::operator=(testObj &another)

{

	this->index = another.index;

	return *this;

}

⌨️ 快捷键说明

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