C++链表的创建 #include <iostream> using namespace std; /* 创建一个单链表 */ struct ListNode{ int m_key; ListNode* next; }; void createList(ListNode* pHead)