c++ 双向链表

#include <iostream> using std::cout; using std::endl; struct Node { int data; struct Node * next; struct Node * pre; }; 一、创建双向链表 Node * createList() { Node * head = new Node; if (NULL == head)
相关文章
相关标签/搜索