In file included from prog.c:1:0:
prog.c: In function 'LoadMapData':
prog.c:34:19: error: too few arguments to function '_IO_getc'
Map[x][y] = getc();
^
In file included from /usr/include/stdio.h:74:0,
from prog.c:1:
/usr/include/libio.h:434:12: note: declared here
extern int _IO_getc (_IO_FILE *__fp);
^
prog.c: In function 'SaveMapData':
prog.c:48:21: error: macro "putc" requires 2 arguments, but only 1 given
putc(Map[x][y]);
^
prog.c:48:7: warning: statement with no effect [-Wunused-value]
putc(Map[x][y]);
^