在数据结构的编程实践中,对结构体的出现错误操作

定义一个新的结构体

struct node

{

elemtype data;

struct node* next;

};


错误:

struct node()   ()是错误添加

{

elemtype data;

struct node* next;

};



此外对结构体的创建定义过程以及重新命名可以参考  typedef的使用方法

​https://baike.baidu.com/item/typedef/9558154?fr=aladdin​