koala.cpp: In function 'int greaterValue(int, int)':
koala.cpp:53:18: error: invalid conversion from 'int' to 'int*' [-fpermissive]
playRound(b,r);
^
In file included from koala.cpp:3:0:
koala.h:4:6: note: initializing argument 2 of 'void playRound(int*, int*)'
void playRound(int *B, int *R);
^~~~~~~~~
koala.cpp:54:16: error: invalid types 'int[int]' for array subscript
bool f=(r[0]>b[0]),s=(r[1]>b[1]);
^
koala.cpp:55:11: error: 's' was not declared in this scope
if(f!=s){
^
koala.cpp: In function 'int minValue(int, int)':
koala.cpp:30:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
koala.cpp: In function 'int greaterValue(int, int)':
koala.cpp:62:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^