Whenever the first line of the map is populated a segmentation fault occurs, I would like to know why.
void newmap(int x, int y , int players){
int linha,coluna;
char **map = (char **) malloc(sizeof(char*) * y);
*map = (char *)m...
asked by
14.08.2018 / 00:44