Borderou de evaluare (job #2049190)

Utilizator luanastLuana Strimbeanu luanast Data 26 octombrie 2017 22:21: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 ‘int main()’: user.cpp:19:23: error: request for member ‘push’ in ‘stivaeval’, which is of non-class type ‘std::stack<char> [100001]’ stivaeval.push(nr); ^ user.cpp:23:30: error: request for member ‘empty’ in ‘stivasemn’, which is of non-class type ‘std::stack<char> [100001]’ while(!stivasemn.empty() && (stivasemn.top()=='*' || stivasemn.top()=='/')){ ^ user.cpp:23:52: error: request for member ‘top’ in ‘stivasemn’, which is of non-class type ‘std::stack<char> [100001]’ while(!stivasemn.empty() && (stivasemn.top()=='*' || stivasemn.top()=='/')){ ^ user.cpp:23:76: error: request for member ‘top’ in ‘stivasemn’, which is of non-class type ‘std::stack<char> [100001]’ while(!stivasemn.empty() && (stivasemn.top()=='*' || stivasemn.top()=='/')){ ^ user.cpp:24:27: error: request for member ‘push’ in ‘stivaeval’, which is of non-class type ‘std::stack<char> [100001]’ stivaeval.push(stivasemn.top()); ^ user.cpp:24:42: error: request for member ‘top’ in ‘stivasemn’, which is of non-class type ‘std::stack<char> [100001]’ stivaeval.push(stivasemn.top()); ^ user.cpp:25:27: error: request for member ‘pop’ in ‘stivasemn’, which is of non-class type ‘std::stack<char> [100001]’ stivasemn.pop(); ^ user.cpp:29:30: error: request for member ‘empty’ in ‘stivasemn’, which is of non-class type ‘std::stack<char> [100001]’ while(!stivasemn.empty() && stivasemn.top()!='('){ ^ user.cpp:29:51: error: request for member ‘top’ in ‘stivasemn’, which is of non-class type ‘std::stack<char> [100001]’ while(!stivasemn.empty() && stivasemn.top()!='('){ ^ user.cpp:30:27: error: request for member ‘push’ in ‘stivaeval’, which is of non-class type ‘std::stack<char> [100001]’ stivaeval.push(stivasemn.top()); ^ user.cpp:30:42: error: request for member ‘top’ in ‘stivasemn’, which is of non-class type ‘std::stack<char> [100001]’ stivaeval.push(stivasemn.top()); ^ user.cpp:31:17: error: ‘stiva’ was not declared in this scope stiva.pop(); ^ user.cpp:35:30: error: request for member ‘empty’ in ‘stivasemn’, which is of non-class type ‘std::stack<char> [100001]’ while(!stivasemn.empty()){ ^ user.cpp:36:27: error: request for member ‘push’ in ‘stivaeval’, which is of non-class type ‘std::stack<char> [100001]’ stivaeval.push(stivasemn.top()); ^ user.cpp:36:42: error: request for member ‘top’ in ‘stivasemn’, which is of non-class type ‘std::stack<char> [100001]’ stivaeval.push(stivasemn.top()); ^ user.cpp:37:17: error: ‘stiva’ was not declared in this scope stiva.pop(); ^ user.cpp:40:19: error: request for member ‘push’ in ‘stivasemn’, which is of non-class type ‘std::stack<char> [100001]’

Ceva nu functioneaza?