0_0_15886081_20164.cpp:19:17: error: expected ')' before 'a'
int cross(round a,round b)
^
0_0_15886081_20164.cpp:19:25: error: expected ')' before 'b'
int cross(round a,round b)
^
0_0_15886081_20164.cpp:19:26: error: expression list treated as compound expression in initializer [-fpermissive]
int cross(round a,round b)
^
0_0_15886081_20164.cpp:19:26: error: left operand of comma operator cannot resolve address of overloaded function
0_0_15886081_20164.cpp:19:26: error: no context to resolve type of 'std::round'
0_0_15886081_20164.cpp:20:1: error: expected ',' or ';' before '{' token
{
^
0_0_15886081_20164.cpp:29:19: error: expected ')' before 'a'
bool check1(round a)
^
0_0_15886081_20164.cpp:29:20: error: cannot resolve overloaded function 'round' based on conversion to type 'bool'
bool check1(round a)
^
0_0_15886081_20164.cpp:30:1: error: expected ',' or ';' before '{' token
{
^
0_0_15886081_20164.cpp:33:19: error: expected ')' before 'a'
bool check2(round a)
^
0_0_15886081_20164.cpp:33:20: error: cannot resolve overloaded function 'round' based on conversion to type 'bool'
bool check2(round a)
^
0_0_15886081_20164.cpp:34:1: error: expected ',' or ';' before '{' token
{
^
0_0_15886081_20164.cpp: In function 'int main()':
0_0_15886081_20164.cpp:48:34: error: 'check1' cannot be used as a function
bool flag1=check1(wall[i]),flag2=check2(wall[i]);
^
0_0_15886081_20164.cpp:49:20: error: 'flag2' was not declared in this scope
if(!flag1&&flag2)
^
0_0_15886081_20164.cpp:64:55: error: 'cross' cannot be used as a function
if(mark[i]==mark[j]&&cross(wall[i],wall[j])==2)
^
0_0_15886081_20164.cpp:74:55: error: 'cross' cannot be used as a function
if(mark[i]!=mark[j]&&cross(wall[i],wall[j])==1)
^
|