Borderou de evaluare (job #1050504)
Utilizator | Data | 8 decembrie 2013 17:37:33 | |
---|---|---|---|
Problema | Dir | Status | done |
Runda | havesomefun2 | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:16:1: error: ‘ofstream’ does not name a type
ofstream g(Fout);
^
user.cpp: In function ‘void rezolvare()’:
user.cpp:40:15: error: ‘strlen’ was not declared in this scope
N=strlen(Sir)-1;
^
user.cpp:57:40: error: ‘strchr’ was not declared in this scope
while(i<=N && !strchr(",(",Sir[i])) i++;
^
user.cpp:60:41: error: ‘strchr’ was not declared in this scope
while(i<=N && !strchr(",()",Sir[i])) i++;
^
user.cpp:67:25: error: ‘strchr’ was not declared in this scope
if(strchr("(,",Sir[inc]) && Sir[sf]=='(')
^
user.cpp:75:22: error: ‘strcmp’ was not declared in this scope
if(strcmp(dirC,"")!=0)
^
user.cpp:80:22: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
char *bkslash="\\";
^
user.cpp:82:44: error: ‘strcat’ was not declared in this scope
for(j=1;j<=VF;j++) {strcat(tmp,ST[j]); strcat(tmp,bkslash);}
^
user.cpp:83:23: error: ‘strcat’ was not declared in this scope
strcat(tmp,dirC);
^
user.cpp:85:29: error: ‘strcpy’ was not declared in this scope
strcpy(Rez[NrSol],tmp);
^
user.cpp: In function ‘void afisare()’:
user.cpp:104:32: error: ‘strcmp’ was not declared in this scope
if(strcmp(Rez[i],Rez[i+1])>0)
^
user.cpp:106:20: error: ‘strcpy’ was not declared in this scope
strcpy(tmp,Rez[i]);
^
user.cpp:113:3: error: ‘g’ was not declared in this scope
g<<NrSol<<'\n';
^
user.cpp:114:25: error: ‘g’ was not declared in this scope
for(i=1;i<=NrSol;i++) g<<Rez[i]<<'\n';
^
user.cpp:115:3: error: ‘g’ was not declared in this scope
g.close();
^
user.cpp: In function ‘void citire()’:
user.cpp:121:3: error: ‘ifstream’ was not declared in this scope
ifstream f(Fin);
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !