C++ STL list鏈表的基本操做

#include<iostream> #include<list> //雙向鏈表 //#include<forward_list> //單向鏈表 頭 C11 #include<algorithm> using namespace std; struct Node { int a; char c; }; void fun(Node& d) { cout << d.a <<
相關文章
相關標籤/搜索