../programs/41505.c:1:20: error: cstdlib: No such file or directory ../programs/41505.c:2:21: error: iostream: No such file or directory ../programs/41505.c:4:20: error: fstream: No such file or directory ../programs/41505.c:7: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'namespace' ../programs/41505.c: In function 'main': ../programs/41505.c:11: error: 'ifstream' undeclared (first use in this function) ../programs/41505.c:11: error: (Each undeclared identifier is reported only once ../programs/41505.c:11: error: for each function it appears in.) ../programs/41505.c:11: error: expected ';' before 'fin' ../programs/41505.c:12: error: 'ofstream' undeclared (first use in this function) ../programs/41505.c:12: error: expected ';' before 'fout' ../programs/41505.c:16: error: 'fin' undeclared (first use in this function) ../programs/41505.c:19: error: 'for' loop initial declaration used outside C99 mode ../programs/41505.c:23: error: 'cout' undeclared (first use in this function) ../programs/41505.c:23: error: 'endl' undeclared (first use in this function) ../programs/41505.c:24: warning: implicit declaration of function 'system' ../programs/41505.c:25: error: 'EXIT_SUCCESS' undeclared (first use in this function) ../programs/41505.c:51: error: redefinition of 'i' ../programs/41505.c:19: error: previous definition of 'i' was here ../programs/41505.c:51: error: 'for' loop initial declaration used outside C99 mode ../programs/41505.c:57: error: redefinition of 'i' ../programs/41505.c:51: error: previous definition of 'i' was here ../programs/41505.c:57: error: 'for' loop initial declaration used outside C99 mode ../programs/41505.c:59: error: 'fout' undeclared (first use in this function) ../programs/41505.c:13: warning: unused variable 'l' ../programs/41505.c:62: warning: control reaches end of non-void function
|