answer.code:5:15: error: ‘player’ was not declared in this scope
5 | bool transmit(player &X,int t,int x){
| ^~~~~~
answer.code:5:23: error: ‘X’ was not declared in this scope
5 | bool transmit(player &X,int t,int x){
| ^
answer.code:5:25: error: expected primary-expression before ‘int’
5 | bool transmit(player &X,int t,int x){
| ^~~
answer.code:5:31: error: expected primary-expression before ‘int’
5 | bool transmit(player &X,int t,int x){
| ^~~
answer.code:5:36: error: expression list treated as compound expression in initializer [-fpermissive]
5 | bool transmit(player &X,int t,int x){
| ^