level 11
gameloftyou
楼主
typedef struct
{
double x;
double y;
fdata *next;
}fdata;
本来想弄个链表的,没想到上来写个结构体就报错:
E:\C++\sheyu\sheyu2.cpp(13) : error C2501: 'fdata' : missing storage-class or type specifiers
E:\C++\sheyu\sheyu2.cpp(13) : error C2501: 'next' : missing storage-class or type specifiers
这些错误都是什么意思啊,该如何定义一个
正确的
?
求教...
2012年04月08日 08点04分
1
{
double x;
double y;
fdata *next;
}fdata;
本来想弄个链表的,没想到上来写个结构体就报错:
E:\C++\sheyu\sheyu2.cpp(13) : error C2501: 'fdata' : missing storage-class or type specifiers
E:\C++\sheyu\sheyu2.cpp(13) : error C2501: 'next' : missing storage-class or type specifiers
这些错误都是什么意思啊,该如何定义一个
正确的
?
求教...