Borderou de evaluare (job #509137)

Utilizator valentin.harsanValentin Harsan valentin.harsan Data 10 decembrie 2010 15:28:11
Problema Vila 2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:7: error: expected primary-expression before 'short' user.cpp:7: error: ISO C++ forbids declaration of 'Public' with no type user.cpp:7: error: expected ';' before 'short' user.cpp: In constructor 'big::big()': user.cpp:29: error: 'x' was not declared in this scope user.cpp: In constructor 'big::big(int)': user.cpp:34: error: 'x' was not declared in this scope user.cpp: In member function 'void big::normalize()': user.cpp:42: error: 'x' was not declared in this scope user.cpp:49: error: 'x' was not declared in this scope user.cpp:54: error: 'x' was not declared in this scope user.cpp: In member function 'big big::add(big&)': user.cpp:66: error: 'class big' has no member named 'x' user.cpp:66: error: 'x' was not declared in this scope user.cpp: In member function 'big big::min(big&)': user.cpp:77: error: 'class big' has no member named 'x' user.cpp:77: error: 'x' was not declared in this scope user.cpp: At global scope: user.cpp:85: error: prototype for 'int big::mult(int&)' does not match any in class 'big' user.cpp:14: error: candidates are: big big::mult(int&) user.cpp:82: error: big big::mult(big&) user.cpp:85: error: 'int big::mult(int&)' cannot be overloaded user.cpp:14: error: with 'big big::mult(int&)' user.cpp: In member function 'int big::mult(int&)': user.cpp:87: error: 'x' was not declared in this scope user.cpp: At global scope: user.cpp:91: error: redefinition of 'big::big(int)' user.cpp:31: error: 'big::big(int)' previously defined here user.cpp: In constructor 'big::big(int)': user.cpp:95: error: 'x' was not declared in this scope user.cpp:98: error: 'x' was not declared in this scope user.cpp: In member function 'big big::imp(int&)': user.cpp:105: error: 'x' was not declared in this scope user.cpp:108: error: 'b' was not declared in this scope user.cpp:114: error: 'x' was not declared in this scope user.cpp:114: error: 'b' was not declared in this scope

Ceva nu functioneaza?