在数据结构的编程实践中,对结构体的出现错误操作
定义一个新的结构体
struct node
{
elemtype data;
struct node* next;
};
错误:
struct node() ()是错误添加
{
elemtype data;
struct node* next;
};
此外对结构体的创建定义过程以及重新命名可以参考 typedef的使用方法
在数据结构的编程实践中,对结构体的出现错误操作
定义一个新的结构体
struct node
{
elemtype data;
struct node* next;
};
错误:
struct node() ()是错误添加
{
elemtype data;
struct node* next;
};
此外对结构体的创建定义过程以及重新命名可以参考 typedef的使用方法
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M