Borderou de evaluare (job #953017)

Utilizator primulDarie Sergiu primul Data 24 mai 2013 17:59:33
Problema Text Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main(int, char**)’: user.cpp:9:26: error: expected unqualified-id before ‘this’ int cuv=0, litere=0, this=0, prev=0; ^ user.cpp:18:13: error: invalid use of ‘this’ in non-member function this = 1; ^ user.cpp:21:13: error: invalid use of ‘this’ in non-member function this = 0; ^ user.cpp:24:12: error: invalid use of ‘this’ in non-member function if(this && !prev) ^ user.cpp:24:21: error: ‘prev’ was not declared in this scope if(this && !prev) ^ user.cpp:26:9: error: ‘prev’ was not declared in this scope prev = this; ^ user.cpp:26:16: error: invalid use of ‘this’ in non-member function prev = this; ^

Ceva nu functioneaza?