/*****************************************************************
** HighlightCodeV3.0 software by yzfy(雨中飞燕) http:// **
*****************************************************************/
node_t * ChangeTwoNodes(node_t *list)
{
if(list==NULL) return NULL;
node_t *pret=list->next, *p, *t;
for (t=list; (list) && (p=list->next); list=list->next)
{
t->next = p;
list->next = p->next;
p->next = t = list;
}
return pret;
}
" border="0" />[color=white]
[[it] 本帖最后由 Loli 于 2008-5-30 10:56 编辑 [/it]]