Borderou de evaluare (job #1890828)

Utilizator Matei_2001Matei Popa Matei_2001 Data 23 februarie 2017 15:44:44
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()’: user.cpp:23:46: error: no matching function for call to ‘isalpha()’ else if (lungime_totala != 0 && !isalpha()) ^ user.cpp:23:46: note: candidates are: In file included from /usr/include/c++/4.8/cctype:42:0, from /usr/include/c++/4.8/bits/localefwd.h:42, from /usr/include/c++/4.8/ios:41, from /usr/include/c++/4.8/istream:38, from /usr/include/c++/4.8/fstream:38, from user.cpp:1: /usr/include/ctype.h:113:1: note: int isalpha(int) __exctype (isalpha); ^ /usr/include/ctype.h:113:1: note: candidate expects 1 argument, 0 provided In file included from /usr/include/c++/4.8/bits/basic_ios.h:37:0, from /usr/include/c++/4.8/ios:44, from /usr/include/c++/4.8/istream:38, from /usr/include/c++/4.8/fstream:38, from user.cpp:1: /usr/include/c++/4.8/bits/locale_facets.h:2560:5: note: template<class _CharT> bool std::isalpha(_CharT, const std::locale&) isalpha(_CharT __c, const locale& __loc) ^ /usr/include/c++/4.8/bits/locale_facets.h:2560:5: note: template argument deduction/substitution failed: user.cpp:23:46: note: candidate expects 2 arguments, 0 provided else if (lungime_totala != 0 && !isalpha()) ^

Ceva nu functioneaza?