本文介绍了“警告:空声明中的无用存储类说明符”指导的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
typedef struct item {
char *text;
int count;
struct item *next;
};
所以我有这个结构,上面定义了节点,但是我在下面得到了错误并且我无法
So I have this struct with nodes defined as above, but Im getting the error below and Im not able to figure out whats wrong.
推荐答案
我不确定,但是可以这样尝试:
I'm not sure, but try like that :
typedef struct item {
char *text;
int count;
struct item *next;
}item;
这篇关于“警告:空声明中的无用存储类说明符”指导的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!