0_0_21635274_30717.cpp: In function 'int main()':
0_0_21635274_30717.cpp:98:72: error: invalid conversion from 'void*' to 'SoccerTeam*' [-fpermissive]
struct SoccerTeam *array = malloc(n * sizeof(struct SoccerTeam));
^
0_0_21635274_30717.cpp:99:48: error: invalid conversion from 'void*' to 'int**' [-fpermissive]
int **scores = malloc(n * sizeof(int *));
^
0_0_21635274_30717.cpp:102:47: error: invalid conversion from 'void*' to 'int*' [-fpermissive]
scores[i] = malloc(n * sizeof(int));
^
|