obj.h

来自「uclinux的进程间通信例子」· C头文件 代码 · 共 23 行

H
23
字号
#ifndef _OBJ_H_

#define _OBJ_H_

#include <stdlib.h>

#include <errno.h>





class testObj

{

	public:

		int index;



		testObj();

		~testObj();

		void setIndex(int in)

	{

		index = in;

	}

		bool operator==( testObj &another);

		testObj &operator=(testObj &another);

};

#endif



⌨️ 快捷键说明

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