【发布时间】:2016-02-09 00:35:06
【问题描述】:
我试图通过阅读一些代码并从中理解单链表来理解它。 此代码,在此站点上找到 http://www.sanfoundry.com/cpp-program-implement-single-linked-list/, 有
struct node
{
int info;
struct node *next;
} *start;
我了解 int info 和 struct node *next 的作用,但是关闭括号后额外的 *start 是什么意思?
谢谢!
【问题讨论】:
-
这是 C。在 C++ 中,第二个结构不是必需的。
-
@LokiAstari 好的,谢谢!!
标签: c++