prog.cpp: In function 'int main(int, char**)':
prog.cpp:3:12: error: 'LC_ALL' was not declared in this scope
setlocale(LC_ALL, "Russian");
^
prog.cpp:3:29: error: 'setlocale' was not declared in this scope
setlocale(LC_ALL, "Russian");
^
prog.cpp:12:2: error: 'FILE' was not declared in this scope
FILE *fp = fopen("in.txt", "r"), *f_out = fopen("out.txt", "w");
^
prog.cpp:12:8: error: 'fp' was not declared in this scope
FILE *fp = fopen("in.txt", "r"), *f_out = fopen("out.txt", "w");
^
prog.cpp:12:32: error: 'fopen' was not declared in this scope
FILE *fp = fopen("in.txt", "r"), *f_out = fopen("out.txt", "w");
^
prog.cpp:12:36: error: 'f_out' was not declared in this scope
FILE *fp = fopen("in.txt", "r"), *f_out = fopen("out.txt", "w");
^
prog.cpp:15:20: error: 'fgets' was not declared in this scope
fgets(str, 550, fp);
^
prog.cpp:17:29: error: 'strlen' was not declared in this scope
for (k = 0; k < strlen(str); k++)
^
prog.cpp:55:18: error: 'printf' was not declared in this scope
printf("%s", res);
^
prog.cpp:56:26: error: 'fprintf' was not declared in this scope
fprintf(f_out, "%s", res);
^
prog.cpp:57:11: error: 'fclose' was not declared in this scope
fclose(fp);
^
prog.cpp:60:16: error: 'system' was not declared in this scope
system("pause");
^