Borderou de evaluare (job #1764244)

Utilizator vladv28Vlad Vasilescu vladv28 Data 25 septembrie 2016 12:14:52
Problema Ecuatii 2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:13:1: error: ‘FILE’ was not declared in this scope FILE * fin=fopen(InFile,"r"); ^ user.cpp:13:8: error: ‘fin’ was not declared in this scope FILE * fin=fopen(InFile,"r"); ^ user.cpp:13:28: error: ‘fopen’ was not declared in this scope FILE * fin=fopen(InFile,"r"); ^ user.cpp:14:8: error: ‘fout’ was not declared in this scope FILE * fout=fopen(OutFile,"w"); ^ user.cpp:18:20: error: ‘fscanf’ was not declared in this scope fscanf(fin,"%d", &n); ^ user.cpp:22:23: error: ‘strchr’ was not declared in this scope p=strchr(s1,'='); ^ user.cpp:23:21: error: ‘strcpy’ was not declared in this scope strcpy(s2,p+1); ^ user.cpp:24:11: error: ‘NULL’ was not declared in this scope *p=NULL; ^ user.cpp:29:38: error: ‘fprintf’ was not declared in this scope fprintf(fout,"infinit\n"); ^ user.cpp:31:40: error: ‘fprintf’ was not declared in this scope fprintf(fout,"imposibil\n"); ^ user.cpp:33:65: error: ‘fprintf’ was not declared in this scope fprintf(fout,"%.4lf\n",((double)(nr2-nr1)/(nrx1-nrx2))); ^ user.cpp:36:11: error: ‘fclose’ was not declared in this scope fclose(fin); ^ user.cpp: In function ‘void rezolva(char*, long int&, long int&)’: user.cpp:45:12: error: ‘strcpy’ was not declared in this scope strcpy(ss,s); ^ user.cpp:46:17: error: ‘strtok’ was not declared in this scope p=strtok(ss,"+-"); ^ user.cpp:51:17: error: ‘strlen’ was not declared in this scope l=strlen(p); ^ user.cpp:55:18: error: ‘NULL’ was not declared in this scope {p[l-1]=NULL; ^

Ceva nu functioneaza?