Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Struct node { char name [30]; int length; node * next; };
使用动态内存分配我将如何使用上面的结构来创建一个列表来保存任意数量的节点?事先不知道那个数字。
请通读这个关于 C++ 中单链表的简单快速教程