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)
相關文章
相關標籤/搜索