Borderou de evaluare (job #2071124)
Utilizator | Data | 20 noiembrie 2017 12:31:47 | |
---|---|---|---|
Problema | Evaluarea unei expresii | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:7:22: error: two or more data types in declaration of ‘prioritate’
int prioritate(char c)
^
user.cpp: In function ‘int main()’:
user.cpp:16:15: error: ‘s’ was not declared in this scope
f.getline(s,100003);
^
user.cpp:19:5: error: ‘p’ was not declared in this scope
p[1]='(';
^
user.cpp:20:17: error: ‘strcat’ was not declared in this scope
strcat(s,")");
^
user.cpp:21:9: error: ‘i’ was not declared in this scope
for(i=0;s[i];i++)
^
user.cpp:29:23: error: ‘fp’ was not declared in this scope
strcat(fp,aux);
^
user.cpp:36:35: error: ‘strchr’ was not declared in this scope
if(strchr("+-*/",s[i]))
^
user.cpp:38:38: error: ‘prioritate’ was not declared in this scope
while(prioritate(s[i])<=prioritate(p[kp]))
^
user.cpp:40:26: error: ‘fp’ was not declared in this scope
strcat(fp,aux);
^
user.cpp:51:15: error: ‘numar’ was not declared in this scope
numar[j++]=s[i++];
^
user.cpp:52:13: error: ‘numar’ was not declared in this scope
numar[j]=0;
^
user.cpp:53:20: error: ‘fp’ was not declared in this scope
strcat(fp,numar);
^
user.cpp:59:8: error: ‘fout’ was not declared in this scope
fout<<fp<<endl;
^
user.cpp:59:14: error: ‘fp’ was not declared in this scope
fout<<fp<<endl;
^
user.cpp:62:8: error: ‘point’ was not declared in this scope
point=strtok(fp," ");
^
user.cpp:62:27: error: ‘strtok’ was not declared in this scope
point=strtok(fp," ");
^
user.cpp:70:14: error: ‘st’ was not declared in this scope
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !