计算机与编程(It's the Past years, the Log, the Life...)
//一个链表的结点结构
struct Node { int data ; Node *next ; }; Node* head = NULL;
//写出添加链表节点的操作函数
bool AddNode(int data) { Node* n= new Node; n->data= data; n->next= head; head= n; }
回复Comments
作者:
{commentrecontent}