在C++中处理链表时可用以下语句实现:
Node *insert(node *head,node *new)
{
.........
.........
return head;
}
用时只需 head=insert(head,new);即可。
那么,请问各位大虾在Delphi中怎么实现这样的功能啊?
function insert(head,node:Node):^PlayNode;不能通过编译啊~~
急,各位大虾帮帮我啊~~~~
Node *insert(node *head,node *new)
{
.........
.........
return head;
}
用时只需 head=insert(head,new);即可。
那么,请问各位大虾在Delphi中怎么实现这样的功能啊?
function insert(head,node:Node):^PlayNode;不能通过编译啊~~
急,各位大虾帮帮我啊~~~~
十分谢谢~~~~