Borderou de evaluare (job #726825)

Utilizator Stefana_fFratean Stefana Stefana_f Data 27 martie 2012 15:43:59
Problema Evaluarea unei expresii Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘long int evaluare()’: user.cpp:10: error: ‘termen’ cannot be used as a function user.cpp:11: error: ‘i’ was not declared in this scope user.cpp:15: error: ‘termen’ cannot be used as a function user.cpp:19: error: ‘termen’ cannot be used as a function user.cpp: In function ‘long int termen()’: user.cpp:25: error: ‘long int termen()’ redeclared as different kind of symbol user.cpp:6: error: previous declaration of ‘long int termen’ user.cpp:26: error: ‘factor’ cannot be used as a function user.cpp:27: error: ‘i’ was not declared in this scope user.cpp:31: error: ‘factor’ cannot be used as a function user.cpp:35: error: ‘factor’ cannot be used as a function user.cpp: In function ‘long int factor()’: user.cpp:41: error: ‘long int factor()’ redeclared as different kind of symbol user.cpp:7: error: previous declaration of ‘long int factor’ user.cpp:43: error: ‘i’ was not declared in this scope user.cpp: In function ‘int main()’: user.cpp:58: error: ‘ifstream’ was not declared in this scope user.cpp:58: error: expected ‘;’ before ‘f’ user.cpp:59: error: ‘f’ was not declared in this scope user.cpp:61: error: ‘ofstream’ was not declared in this scope user.cpp:61: error: expected ‘;’ before ‘g’ user.cpp:62: error: ‘g’ was not declared in this scope user.cpp: At global scope: user.cpp:66: error: expected unqualified-id before numeric constant user.cpp:66: error: expected declaration before ‘}’ token

Ceva nu functioneaza?