Dūmų pranešimas

Taškai: 0

Compile: FAIL

dumai.cpp: In function ‘int main()’: dumai.cpp:15:26: error: no matching function for call to ‘std::basic_ostream<char>::basic_ostream(const char [10])’ ostream cout("dumai.out"); ^ In file included from /usr/include/c++/5/istream:39:0, from /usr/include/c++/5/sstream:38, from /usr/include/c++/5/complex:45, from /usr/include/c++/5/ccomplex:38, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:52, from dumai.cpp:1: /usr/include/c++/5/ostream:393:7: note: candidate: std::basic_ostream<_CharT, _Traits>::basic_ostream(std::basic_ostream<_CharT, _Traits>&&) [with _CharT = char; _Traits = std::char_traits<char>] basic_ostream(basic_ostream&& __rhs) ^ /usr/include/c++/5/ostream:393:7: note: no known conversion for argument 1 from ‘const char [10]’ to ‘std::basic_ostream<char>&&’ /usr/include/c++/5/ostream:389:7: note: candidate: std::basic_ostream<_CharT, _Traits>::basic_ostream(std::basic_iostream<_CharT, _Traits>&) [with _CharT = char; _Traits = std::char_traits<char>] basic_ostream(basic_iostream<_CharT, _Traits>&) { } ^ /usr/include/c++/5/ostream:389:7: note: no known conversion for argument 1 from ‘const char [10]’ to ‘std::basic_iostream<char>&’ /usr/include/c++/5/ostream:384:7: note: candidate: std::basic_ostream<_CharT, _Traits>::basic_ostream() [with _CharT = char; _Traits = std::char_traits<char>] basic_ostream() ^ /usr/include/c++/5/ostream:384:7: note: candidate expects 0 arguments, 1 provided /usr/include/c++/5/ostream:84:7: note: candidate: std::basic_ostream<_CharT, _Traits>::basic_ostream(std::basic_ostream<_CharT, _Traits>::__streambuf_type*) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__streambuf_type = std::basic_streambuf<char>] basic_ostream(__streambuf_type* __sb) ^ /usr/include/c++/5/ostream:84:7: note: no known conversion for argument 1 from ‘const char [10]’ to ‘std::basic_ostream<char>::__streambuf_type* {aka std::basic_streambuf<char>*}’

nr.resulttimemessage