字体:
tt [#4008651@0 -ROLIA.NET 相约加拿大网上社区 之 枫下论坛 & 枫下部落, 枫下论坛主坛 ]

tt

by c1xwy (洪兴罩俺去战斗) at 2007.10.22 17:17 (#4008651@0)
pNode = header;
cNode = pNode->next;
i = 0;

while (cNode!= null && ++i<4)
cNode = cNode->next;

if (cNode==null)
return "too short";

while (cNode->next!=null)
{
cNode = cNode->next;
pNode = pNode->next;
}

return pNode;

该话题已在历史区内,不能被修改或回复。       收藏    投诉
关闭窗口