Borderou de evaluare (job #726831)

Utilizator Stefana_fFratean Stefana Stefana_f Data 27 martie 2012 15:53:30
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:11: error: ‘termen’ cannot be used as a function user.cpp:12: error: ‘i’ was not declared in this scope user.cpp:16: error: ‘termen’ cannot be used as a function user.cpp:20: error: ‘termen’ cannot be used as a function user.cpp: In function ‘long int termen()’: user.cpp:26: error: ‘long int termen()’ redeclared as different kind of symbol user.cpp:7: error: previous declaration of ‘long int termen’ user.cpp:27: error: ‘factor’ cannot be used as a function user.cpp:28: error: ‘i’ was not declared in this scope user.cpp:32: error: ‘factor’ cannot be used as a function user.cpp:36: error: ‘factor’ cannot be used as a function user.cpp: In function ‘long int factor()’: user.cpp:42: error: ‘long int factor()’ redeclared as different kind of symbol user.cpp:8: error: previous declaration of ‘long int factor’ user.cpp:44: error: ‘i’ was not declared in this scope user.cpp: In function ‘int main()’: user.cpp:59: error: ‘ifstream’ was not declared in this scope user.cpp:59: error: expected ‘;’ before ‘f’ user.cpp:60: error: ‘ofstream’ was not declared in this scope user.cpp:60: error: expected ‘;’ before ‘g’ user.cpp:62: error: ‘f’ was not declared in this scope user.cpp:63: error: ‘g’ was not declared in this scope user.cpp: At global scope: user.cpp:69: error: expected unqualified-id before numeric constant user.cpp:69: error: expected declaration before ‘}’ token

Ceva nu functioneaza?