prog.c: In function ‘star’:
prog.c:8:6: error: ‘freopen’ undeclared (first use in this function)
freopen<<"*";
^~~~~~~
prog.c:8:6: note: each undeclared identifier is reported only once for each function it appears in
prog.c: In function ‘space’:
prog.c:17:9: error: ‘freopen’ undeclared (first use in this function)
freopen<<" ";
^~~~~~~
prog.c: In function ‘sastantua’:
prog.c:45:13: error: ‘freopen’ undeclared (first use in this function)
freopen<<"/";
^~~~~~~
prog.c:48:22: error: ‘endl’ undeclared (first use in this function)
freopen<<endl;
^~~~