0_0_20446340_7797.cpp:4:6: error: expected nested-name-specifier before '&' token
using namespace std;
^
0_0_20446340_7797.cpp:4:21: error: expected identifier before '&' token
using namespace std;
^
0_0_20446340_7797.cpp:4:26: error: expected constructor, destructor, or type conversion before ';' token
using namespace std;
^
0_0_20446340_7797.cpp:4:27: error: 'std' does not name a type
using namespace std;
^
0_0_20446340_7797.cpp:4:36: error: expected constructor, destructor, or type conversion before ';' token
using namespace std;
^
0_0_20446340_7797.cpp:4:42: error: expected constructor, destructor, or type conversion before ';' token
using namespace std;
^
0_0_20446340_7797.cpp:5:7: error: expected identifier before '&' token
struct dian
^
0_0_20446340_7797.cpp:5:12: error: invalid type in declaration before ';' token
struct dian
^
0_0_20446340_7797.cpp:5:12: error: 'nbsp' declared as reference but not initialized
0_0_20446340_7797.cpp:5:13: error: 'dian' does not name a type
struct dian
^
0_0_20446340_7797.cpp:5:28: error: expected constructor, destructor, or type conversion before ';' token
struct dian
^
0_0_20446340_7797.cpp:6:1: error: expected unqualified-id before '{' token
{
^
0_0_20446340_7797.cpp:8:8: error: expected constructor, destructor, or type conversion before ';' token
};
^
0_0_20446340_7797.cpp:8:14: error: expected constructor, destructor, or type conversion before ';' token
};
^
0_0_20446340_7797.cpp:9:6: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_20446340_7797.cpp:9:12: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_20446340_7797.cpp:10:7: error: expected identifier before '&' token
struct xian
^
0_0_20446340_7797.cpp:10:12: error: invalid type in declaration before ';' token
struct xian
^
0_0_20446340_7797.cpp:10:12: error: redefinition of 'int& nbsp'
0_0_20446340_7797.cpp:5:8: note: 'int& nbsp' previously declared here
struct dian
^
0_0_20446340_7797.cpp:10:13: error: 'xian' does not name a type
struct xian
^
0_0_20446340_7797.cpp:10:28: error: expected constructor, destructor, or type conversion before ';' token
struct xian
^
0_0_20446340_7797.cpp:11:1: error: expected unqualified-id before '{' token
{
^
0_0_20446340_7797.cpp:13:8: error: expected constructor, destructor, or type conversion before ';' token
};
^
0_0_20446340_7797.cpp:13:14: error: expected constructor, destructor, or type conversion before ';' token
};
^
0_0_20446340_7797.cpp:15:6: error: conflicting declaration 'bool& nbsp'
bool judge(dian a,dian b,dian c,dian d)
^
0_0_20446340_7797.cpp:5:8: note: previous declaration as 'int& nbsp'
struct dian
^
0_0_20446340_7797.cpp:15:16: error: expected constructor, destructor, or type conversion before '(' token
bool judge(dian a,dian b,dian c,dian d)
^
0_0_20446340_7797.cpp:15:27: error: 'a' does not name a type
bool judge(dian a,dian b,dian c,dian d)
^
0_0_20446340_7797.cpp:15:39: error: 'b' does not name a type
bool judge(dian a,dian b,dian c,dian d)
^
0_0_20446340_7797.cpp:15:51: error: 'c' does not name a type
bool judge(dian a,dian b,dian c,dian d)
^
0_0_20446340_7797.cpp:15:63: error: 'd' does not name a type
bool judge(dian a,dian b,dian c,dian d)
^
0_0_20446340_7797.cpp:15:76: error: expected constructor, destructor, or type conversion before ';' token
bool judge(dian a,dian b,dian c,dian d)
^
0_0_20446340_7797.cpp:16:1: error: expected unqualified-id before '{' token
{
^
0_0_20446340_7797.cpp:33:7: error: expected constructor, destructor, or type conversion before ';' token
}
^
0_0_20446340_7797.cpp:33:13: error: expected constructor, destructor, or type conversion before ';' token
}
^
0_0_20446340_7797.cpp:34:6: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_20446340_7797.cpp:34:12: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_20446340_7797.cpp:35:5: error: redefinition of 'int& nbsp'
int main()
^
0_0_20446340_7797.cpp:5:8: note: 'int& nbsp' previously declared here
struct dian
^
0_0_20446340_7797.cpp:35:17: error: expected constructor, destructor, or type conversion before 'nbsp'
int main()
^
0_0_20446340_7797.cpp:35:27: error: expected constructor, destructor, or type conversion before ';' token
int main()
^
0_0_20446340_7797.cpp:36:1: error: expected unqualified-id before '{' token
{
^
|