以下代码int score;报错error C2380: type(s) preceding 'score' (constructor with return type, or illegal redefinition of current class-name?)
我想知道如何改写它可以在VS2008下编译通过。struct score {
int score;
string level;
string name;
};
我想知道如何改写它可以在VS2008下编译通过。struct score {
int score;
string level;
string name;
};
int nSrcoe;结构体定义为:
struct score {
int nScore;
string level;
string name;
};