|
|||||||||||||||
ultima problemă
grupă: mică
sursă: OMI 2016 ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
|
Sursa 624400
Mesaj evaluator:
criptmat.cpp:12: error: 'std::string crypt' redeclared as different kind of symbol
/usr/include/unistd.h:1123: error: previous declaration of 'char* crypt(const char*, const char*)'
criptmat.cpp: In function 'int main()':
criptmat.cpp:17: error: ambiguous overload for 'operator>>' in 'fin >> crypt'
/usr/include/c++/4.4/istream:119: note: candidates are: std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(std::basic_istream<_CharT, _Traits>& (*)(std::basic_istream<_CharT, _Traits>&)) [with _CharT = char, _Traits = std::char_traits<char>] <near match>
/usr/include/c++/4.4/istream:123: note: std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(std::basic_ios<_CharT, _Traits>& (*)(std::basic_ios<_CharT, _Traits>&)) [with _CharT = char, _Traits = std::char_traits<char>] <near match>
/usr/include/c++/4.4/istream:130: note: std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(std::ios_base& (*)(std::ios_base&)) [with _CharT = char, _Traits = std::char_traits<char>] <near match>
criptmat.cpp:19: error: request for member 'size' in 'crypt', which is of non-class type 'char*(const char*, const char*)throw ()'
criptmat.cpp:20: error: request for member 'begin' in 'crypt', which is of non-class type 'char*(const char*, const char*)throw ()'
criptmat.cpp:20: error: request for member 'begin' in 'crypt', which is of non-class type 'char*(const char*, const char*)throw ()'
criptmat.cpp:22: warning: pointer to a function used in arithmetic
criptmat.cpp:22: error: invalid conversion from 'char* (*)(const char*, const char*)throw ()' to 'char'
criptmat.cpp:26: error: request for member 'size' in 'crypt', which is of non-class type 'char*(const char*, const char*)throw ()'
|
||||||||||||||
ajutor |