education.h

来自「c语言是面向过程的程序语言」· C头文件 代码 · 共 46 行

H
46
字号
#ifndef EDUCATION_H#define EDUCATION_H/* ****************************** * Object Oriented Programming in C * * Author: Laurent Deniau, Laurent.Deniau@cern.ch * * For more information, please see the paper: * http://home.cern.ch/ldeniau/html/oopc/oopc.html * ****************************** */#include <ooc.h>/*-------------------------*//*   education interface   *//*   abstract base class   */ /*-------------------------*/#undef  OBJECT#define OBJECT education/* Object interface */BASEOBJECT_INTERFACE  char const* private(diploma);BASEOBJECT_METHODS  void constMethod(print);ENDOF_INTERFACE/* Class interface */ABSTRACTCLASS_INTERFACE  void method_(init) char const diploma[] __;  void method_(copy) t_education const*const edu __;ENDOF_INTERFACE#endif

⌨️ 快捷键说明

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