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 <<
相关文章
相关标签/搜索