帮忙把C代码转换成Delphi的,只有5行,高分相送!(100分)

  • 主题发起人 selonboy
  • 开始时间
S

selonboy

Unregistered / Unconfirmed
GUEST, unregistred user!
如题,下面是需要转换的代码:
class EntAdvUnit
{
public:
virtual int OnPosLength( unsigned long nLength ) = 0;
};
#endif
转换成Delphi的 [:)]
 
H

hanpengshan_00

Unregistered / Unconfirmed
GUEST, unregistred user!
EntAdvUnit = class
public function OnPosLength(nLength: cardinal): integer;virtual;
end;
 
Q

QQ在线

Unregistered / Unconfirmed
GUEST, unregistred user!
C++中,类函数后面有 = 0,表示是纯虚函数
类同:
ClassA = class
public
function funcname(): Integer;
virtual;
abstract;
end;
 
S

selonboy

Unregistered / Unconfirmed
GUEST, unregistred user!
[:)]感谢两位
 

Similar threads

S
回复
0
查看
3K
SUNSTONE的Delphi笔记
S
S
回复
0
查看
2K
SUNSTONE的Delphi笔记
S
D
回复
0
查看
1K
DelphiTeacher的专栏
D
D
回复
0
查看
2K
DelphiTeacher的专栏
D
D
回复
0
查看
2K
DelphiTeacher的专栏
D
顶部