0_0_20446463_10972.cpp:3:20: error: expected identifier before '&' token
typedef struct point
^
0_0_20446463_10972.cpp:3:25: error: invalid type in declaration before ';' token
typedef struct point
^
0_0_20446463_10972.cpp:3:25: error: 'int& nbsp' redeclared as different kind of symbol
0_0_20446463_10972.cpp:3:9: note: previous declaration 'typedef int& nbsp'
typedef struct point
^
0_0_20446463_10972.cpp:3:26: error: 'point' does not name a type
typedef struct point
^
0_0_20446463_10972.cpp:3:42: error: expected constructor, destructor, or type conversion before ';' token
typedef struct point
^
0_0_20446463_10972.cpp:4:1: error: expected unqualified-id before '{' token
{
^
0_0_20446463_10972.cpp:7:7: error: expected constructor, destructor, or type conversion before ';' token
} Point;
^
0_0_20446463_10972.cpp:7:8: error: 'Point' does not name a type
} Point;
^
0_0_20446463_10972.cpp:7:19: error: expected constructor, destructor, or type conversion before ';' token
} Point;
^
0_0_20446463_10972.cpp:7:25: error: expected constructor, destructor, or type conversion before ';' token
} Point;
^
0_0_20446463_10972.cpp:8:6: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_20446463_10972.cpp:8:12: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_20446463_10972.cpp:9:1: error: 'Point' does not name a type
Point arr[100];//坐标数组
^
0_0_20446463_10972.cpp:9:12: error: 'arr' does not name a type
Point arr[100];//坐标数组
^
0_0_20446463_10972.cpp:10:5: error: 'int& nbsp' redeclared as different kind of symbol
int n;//坐标数组长度
^
0_0_20446463_10972.cpp:3:9: note: previous declaration 'typedef int& nbsp'
typedef struct point
^
0_0_20446463_10972.cpp:10:10: error: 'n' does not name a type
int n;//坐标数组长度
^
0_0_20446463_10972.cpp:11:8: error: 'double& nbsp' redeclared as different kind of symbol
double convexHullLength;//凸包长度
^
0_0_20446463_10972.cpp:3:9: note: previous declaration 'typedef int& nbsp'
typedef struct point
^
0_0_20446463_10972.cpp:11:13: error: 'convexHullLength' does not name a type
double convexHullLength;//凸包长度
^
0_0_20446463_10972.cpp:12:6: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_20446463_10972.cpp:12:12: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_20446463_10972.cpp:13:6: error: cannot declare reference to 'void'
void inputPoint()//坐标输入函数
^
0_0_20446463_10972.cpp:13:6: error: variable or field 'nbsp' declared void
0_0_20446463_10972.cpp: In function 'int inputPoint()':
0_0_20446463_10972.cpp:14:7: error: expected primary-expression before ';' token
{
^
0_0_20446463_10972.cpp:14:13: error: expected primary-expression before ';' token
{
^
0_0_20446463_10972.cpp:15:6: error: expected primary-expression before ';' token
int i;
^
0_0_20446463_10972.cpp:15:12: error: expected primary-expression before ';' token
int i;
^
0_0_20446463_10972.cpp:15:18: error: expected primary-expression before ';' token
int i;
^
0_0_20446463_10972.cpp:15:24: error: expected primary-expression before ';' token
int i;
^
0_0_20446463_10972.cpp:15:29: error: 'nbsp' declared as reference but not initialized
int i;
^
0_0_20446463_10972.cpp:15:34: error: 'i' was not declared in this scope
int i;
^
0_0_20446463_10972.cpp:16:41: error: 'n' was not declared in this scope
for(i=0; i<n; i++)
^
0_0_20446463_10972.cpp:16:42: error: expected ')' before ';' token
for(i=0; i<n; i++)
^
0_0_20446463_10972.cpp:17:63: error: 'arr' was not declared in this scope
scanf("%d%d",&arr[i].x,&arr[i].y);
^
0_0_20446463_10972.cpp: At global scope:
0_0_20446463_10972.cpp:18:7: error: expected constructor, destructor, or type conversion before ';' token
}
^
0_0_20446463_10972.cpp:18:13: error: expected constructor, destructor, or type conversion before ';' token
}
^
0_0_20446463_10972.cpp:19:6: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_20446463_10972.cpp:19:12: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_20446463_10972.cpp:20:8: error: 'double& nbsp' redeclared as different kind of symbol
double Distance(int p1,int p2)//计算两点之间的距离
^
0_0_20446463_10972.cpp:3:9: note: previous declaration 'typedef int& nbsp'
typedef struct point
^
0_0_20446463_10972.cpp:20:30: error: expected ')' before ';' token
double Distance(int p1,int p2)//计算两点之间的距离
^
0_0_20446463_10972.cpp:20:30: error: expected constructor, destructor, or type conversion before ';' token
0_0_20446463_10972.cpp:20:31: error: 'p1' does not name a type
double Distance(int p1,int p2)//计算两点之间的距离
^
0_0_20446463_10972.cpp:20:43: error: 'p2' does not name a type
double Distance(int p1,int p2)//计算两点之间的距离
^
0_0_20446463_10972.cpp:23:7: error: expected constructor, destructor, or type conversion before ';' token
}
^
0_0_20446463_10972.cpp:23:13: error: expected constructor, destructor, or type conversion before ';' token
}
^
0_0_20446463_10972.cpp:24:6: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_20446463_10972.cpp:24:12: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_20446463_10972.cpp:25:5: error: 'int& nbsp' redeclared as different kind of symbol
int judgePoint(int p1,int p2)//判断两点是(1)否(0)在凸包外围边上
^
0_0_20446463_10972.cpp:3:9: note: previous declaration 'typedef int& nbsp'
typedef struct point
^
0_0_20446463_10972.cpp:25:29: error: expected ')' before ';' token
int judgePoint(int p1,int p2)//判断两点是(1)否(0)在凸包外围边上
^
0_0_20446463_10972.cpp:25:29: error: expected constructor, destructor, or type conversion before ';' token
0_0_20446463_10972.cpp:25:30: error: 'p1' does not name a type
int judgePoint(int p1,int p2)//判断两点是(1)否(0)在凸包外围边上
^
0_0_20446463_10972.cpp:25:42: error: 'p2' does not name a type
int judgePoint(int p1,int p2)//判断两点是(1)否(0)在凸包外围边上
^
0_0_20446463_10972.cpp:42:7: error: expected constructor, destructor, or type conversion before ';' token
}
^
0_0_20446463_10972.cpp:42:13: error: expected constructor, destructor, or type conversion before ';' token
}
^
0_0_20446463_10972.cpp:43:5: error: 'int& nbsp' redeclared as different kind of symbol
int main()
^
0_0_20446463_10972.cpp:3:9: note: previous declaration 'typedef int& nbsp'
typedef struct point
^
0_0_20446463_10972.cpp:43:17: error: expected constructor, destructor, or type conversion before 'nbsp'
int main()
^
0_0_20446463_10972.cpp:43:27: error: expected constructor, destructor, or type conversion before ';' token
int main()
^
0_0_20446463_10972.cpp:44:1: error: expected unqualified-id before '{' token
{
^
|