摘要: 创建三个空结点,通过next的指针,将三个结点的地址串联在一起,变成一个单链表 #include <iostream> using namespace std; struct Node { int data; Node* next; }; void printList(Node* n) { whil 阅读全文
posted @ 2020-04-09 10:46 strive-sun 阅读(124) 评论(0) 推荐(0)