Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

over 4 years ago

Language

C++

Compiler

gcc 10.1.0

Options
Warnings
Boost 1.73.0
C++2a(GNU)
no pedantic

Author

anonymous

over 4 years ago

$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.73.0/gcc-10.1.0/include -std=gnu++2a
prog.cc:22:13: warning: missing terminating " character
   22 |     cout << "And instead of you talking, you will input what you'd like to say and a robot voice will
      |             ^
prog.cc:22:13: error: missing terminating " character
   22 |     cout << "And instead of you talking, you will input what you'd like to say and a robot voice will
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
prog.cc:23:25: warning: missing terminating " character
   23 |     say it to the person" << endl;
      |                         ^
prog.cc:23:25: error: missing terminating " character
   23 |     say it to the person" << endl;
      |                         ^~~~~~~~~~
prog.cc:66:13: warning: missing terminating " character
   66 |     cout << "About: Written in C++. This is a prank for your friends and cannot make real phone
      |             ^
prog.cc:66:13: error: missing terminating " character
   66 |     cout << "About: Written in C++. This is a prank for your friends and cannot make real phone
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
prog.cc:67:11: warning: missing terminating " character
   67 |     calls." << endl;
      |           ^
prog.cc:67:11: error: missing terminating " character
   67 |     calls." << endl;
      |           ^~~~~~~~~~
prog.cc: In function 'int main()':
prog.cc:23:5: error: 'say' was not declared in this scope
   23 |     say it to the person" << endl;
      |     ^~~
prog.cc:27:9: error: no match for 'operator>>' (operand types are 'std::string' {aka 'std::__cxx11::basic_string<char>'} and 'int')
   27 |     cin >> dial).get();
      |     ~~~ ^~ ~~~~
      |     |      |
      |     |      int
      |     std::string {aka std::__cxx11::basic_string<char>}
In file included from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/string:56,
                 from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/bits/locale_classes.h:40,
                 from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/bits/ios_base.h:41,
                 from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/ios:42,
                 from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/ostream:38,
                 from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/iostream:39,
                 from prog.cc:1:
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/bits/basic_string.tcc:1476:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::__cxx11::basic_string<_CharT, _Traits, _Allocator>&)'
 1476 |     operator>>(basic_istream<_CharT, _Traits>& __in,
      |     ^~~~~~~~
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/bits/basic_string.tcc:1476:5: note:   template argument deduction/substitution failed:
prog.cc:27:12: note:   'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'std::basic_istream<_CharT, _Traits>'
   27 |     cin >> dial).get();
      |            ^~~~
In file included from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/istream:991,
                 from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/iostream:40,
                 from prog.cc:1:
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/bits/istream.tcc:931:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, _CharT&)'
  931 |     operator>>(basic_istream<_CharT, _Traits>& __in, _CharT& __c)
      |     ^~~~~~~~
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/bits/istream.tcc:931:5: note:   template argument deduction/substitution failed:
prog.cc:27:12: note:   'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'std::basic_istream<_CharT, _Traits>'
   27 |     cin >> dial).get();
      |            ^~~~
In file included from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/iostream:40,
                 from prog.cc:1:
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/istream:756:5: note: candidate: 'template<class _Traits> std::basic_istream<char, _Traits>& std::operator>>(std::basic_istream<char, _Traits>&, unsigned char&)'
  756 |     operator>>(basic_istream<char, _Traits>& __in, unsigned char& __c)
      |     ^~~~~~~~
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/istream:756:5: note:   template argument deduction/substitution failed:
prog.cc:27:12: note:   'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'std::basic_istream<char, _Traits>'
   27 |     cin >> dial).get();
      |            ^~~~
In file included from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/iostream:40,
                 from prog.cc:1:
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/istream:761:5: note: candidate: 'template<class _Traits> std::basic_istream<char, _Traits>& std::operator>>(std::basic_istream<char, _Traits>&, signed char&)'
  761 |     operator>>(basic_istream<char, _Traits>& __in, signed char& __c)
      |     ^~~~~~~~
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/istream:761:5: note:   template argument deduction/substitution failed:
prog.cc:27:12: note:   'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'std::basic_istream<char, _Traits>'
   27 |     cin >> dial).get();
      |            ^~~~
In file included from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/istream:991,
                 from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/iostream:40,
                 from prog.cc:1:
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/bits/istream.tcc:963:5: note: candidate: 'template<class _CharT2, class _Traits2> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, _CharT2*)'
  963 |     operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)
      |     ^~~~~~~~
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/bits/istream.tcc:963:5: note:   template argument deduction/substitution failed:
prog.cc:27:12: note:   'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'std::basic_istream<_CharT, _Traits>'
   27 |     cin >> dial).get();
      |            ^~~~
In file included from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/iostream:40,
                 from prog.cc:1:
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/istream:803:5: note: candidate: 'template<class _Traits> std::basic_istream<char, _Traits>& std::operator>>(std::basic_istream<char, _Traits>&, unsigned char*)'
  803 |     operator>>(basic_istream<char, _Traits>& __in, unsigned char* __s)
      |     ^~~~~~~~
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/istream:803:5: note:   template argument deduction/substitution failed:
prog.cc:27:12: note:   'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'std::basic_istream<char, _Traits>'
   27 |     cin >> dial).get();
      |            ^~~~
In file included from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/iostream:40,
                 from prog.cc:1:
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/istream:808:5: note: candidate: 'template<class _Traits> std::basic_istream<char, _Traits>& std::operator>>(std::basic_istream<char, _Traits>&, signed char*)'
  808 |     operator>>(basic_istream<char, _Traits>& __in, signed char* __s)
      |     ^~~~~~~~
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/istream:808:5: note:   template argument deduction/substitution failed:
prog.cc:27:12: note:   'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'std::basic_istream<char, _Traits>'
   27 |     cin >> dial).get();
      |            ^~~~
In file included from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/iostream:40,
                 from prog.cc:1:
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/istream:980:5: note: candidate: 'template<class _Istream, class _Tp> typename std::enable_if<std::__and_<std::__not_<std::is_lvalue_reference<_Tp> >, std::__is_convertible_to_basic_istream<_Istream>, std::__is_extractable<typename std::__is_convertible_to_basic_istream<_Tp>::__istream_type, _Tp&&, void> >::value, typename std::__is_convertible_to_basic_istream<_Tp>::__istream_type>::type std::operator>>(_Istream&&, _Tp&&)'
  980 |     operator>>(_Istream&& __is, _Tp&& __x)
      |     ^~~~~~~~
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/istream:980:5: note:   template argument deduction/substitution failed:
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/istream: In substitution of 'template<class _Istream, class _Tp> typename std::enable_if<std::__and_<std::__not_<std::is_lvalue_reference<_Tp> >, std::__is_convertible_to_basic_istream<_Istream>, std::__is_extractable<typename std::__is_convertible_to_basic_istream<_Tp>::__istream_type, _Tp&&, void> >::value, typename std::__is_convertible_to_basic_istream<_Tp>::__istream_type>::type std::operator>>(_Istream&&, _Tp&&) [with _Istream = std::__cxx11::basic_string<char>&; _Tp = int&]':
prog.cc:27:12:   required from here
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/istream:980:5: error: no type named 'type' in 'struct std::enable_if<false, void>'
prog.cc:32:13: error: no match for 'operator>>' (operand types are 'std::string' {aka 'std::__cxx11::basic_string<char>'} and 'std::string' {aka 'std::__cxx11::basic_string<char>'})
   32 |         cin >> dial2;
      |         ~~~ ^~ ~~~~~
      |         |      |
      |         |      basic_string<[...]>
      |         basic_string<[...]>
In file included from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/string:56,
                 from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/bits/locale_classes.h:40,
                 from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/bits/ios_base.h:41,
                 from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/ios:42,
                 from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/ostream:38,
                 from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/iostream:39,
                 from prog.cc:1:
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/bits/basic_string.tcc:1476:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::__cxx11::basic_string<_CharT, _Traits, _Allocator>&)'
 1476 |     operator>>(basic_istream<_CharT, _Traits>& __in,
      |     ^~~~~~~~
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/bits/basic_string.tcc:1476:5: note:   template argument deduction/substitution failed:
prog.cc:32:16: note:   'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'std::basic_istream<_CharT, _Traits>'
   32 |         cin >> dial2;
      |                ^~~~~
In file included from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/istream:991,
                 from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/iostream:40,
                 from prog.cc:1:
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/bits/istream.tcc:931:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, _CharT&)'
  931 |     operator>>(basic_istream<_CharT, _Traits>& __in, _CharT& __c)
      |     ^~~~~~~~
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/bits/istream.tcc:931:5: note:   template argument deduction/substitution failed:
prog.cc:32:16: note:   'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'std::basic_istream<_CharT, _Traits>'
   32 |         cin >> dial2;
      |                ^~~~~
In file included from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/iostream:40,
                 from prog.cc:1:
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/istream:756:5: note: candidate: 'template<class _Traits> std::basic_istream<char, _Traits>& std::operator>>(std::basic_istream<char, _Traits>&, unsigned char&)'
  756 |     operator>>(basic_istream<char, _Traits>& __in, unsigned char& __c)
      |     ^~~~~~~~
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/istream:756:5: note:   template argument deduction/substitution failed:
prog.cc:32:16: note:   'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'std::basic_istream<char, _Traits>'
   32 |         cin >> dial2;
      |                ^~~~~
In file included from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/iostream:40,
                 from prog.cc:1:
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/istream:761:5: note: candidate: 'template<class _Traits> std::basic_istream<char, _Traits>& std::operator>>(std::basic_istream<char, _Traits>&, signed char&)'
  761 |     operator>>(basic_istream<char, _Traits>& __in, signed char& __c)
      |     ^~~~~~~~
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/istream:761:5: note:   template argument deduction/substitution failed:
prog.cc:32:16: note:   'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'std::basic_istream<char, _Traits>'
   32 |         cin >> dial2;
      |                ^~~~~
In file included from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/istream:991,
                 from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/iostream:40,
                 from prog.cc:1:
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/bits/istream.tcc:963:5: note: candidate: 'template<class _CharT2, class _Traits2> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, _CharT2*)'
  963 |     operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)
      |     ^~~~~~~~
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/bits/istream.tcc:963:5: note:   template argument deduction/substitution failed:
prog.cc:32:16: note:   'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'std::basic_istream<_CharT, _Traits>'
   32 |         cin >> dial2;
      |                ^~~~~
In file included from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/iostream:40,
                 from prog.cc:1:
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/istream:803:5: note: candidate: 'template<class _Traits> std::basic_istream<char, _Traits>& std::operator>>(std::basic_istream<char, _Traits>&, unsigned char*)'
  803 |     operator>>(basic_istream<char, _Traits>& __in, unsigned char* __s)
      |     ^~~~~~~~
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/istream:803:5: note:   template argument deduction/substitution failed:
prog.cc:32:16: note:   'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'std::basic_istream<char, _Traits>'
   32 |         cin >> dial2;
      |                ^~~~~
In file included from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/iostream:40,
                 from prog.cc:1:
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/istream:808:5: note: candidate: 'template<class _Traits> std::basic_istream<char, _Traits>& std::operator>>(std::basic_istream<char, _Traits>&, signed char*)'
  808 |     operator>>(basic_istream<char, _Traits>& __in, signed char* __s)
      |     ^~~~~~~~
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/istream:808:5: note:   template argument deduction/substitution failed:
prog.cc:32:16: note:   'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'std::basic_istream<char, _Traits>'
   32 |         cin >> dial2;
      |                ^~~~~
In file included from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/iostream:40,
                 from prog.cc:1:
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/istream:980:5: note: candidate: 'template<class _Istream, class _Tp> typename std::enable_if<std::__and_<std::__not_<std::is_lvalue_reference<_Tp> >, std::__is_convertible_to_basic_istream<_Istream>, std::__is_extractable<typename std::__is_convertible_to_basic_istream<_Tp>::__istream_type, _Tp&&, void> >::value, typename std::__is_convertible_to_basic_istream<_Tp>::__istream_type>::type std::operator>>(_Istream&&, _Tp&&)'
  980 |     operator>>(_Istream&& __is, _Tp&& __x)
      |     ^~~~~~~~
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/istream:980:5: note:   template argument deduction/substitution failed:
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/istream: In substitution of 'template<class _Istream, class _Tp> typename std::enable_if<std::__and_<std::__not_<std::is_lvalue_reference<_Tp> >, std::__is_convertible_to_basic_istream<_Istream>, std::__is_extractable<typename std::__is_convertible_to_basic_istream<_Tp>::__istream_type, _Tp&&, void> >::value, typename std::__is_convertible_to_basic_istream<_Tp>::__istream_type>::type std::operator>>(_Istream&&, _Tp&&) [with _Istream = std::__cxx11::basic_string<char>&; _Tp = std::__cxx11::basic_string<char>&]':
prog.cc:32:16:   required from here
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/istream:980:5: error: no type named 'type' in 'struct std::enable_if<false, void>'
prog.cc:40:13: error: no match for 'operator>>' (operand types are 'std::string' {aka 'std::__cxx11::basic_string<char>'} and 'std::string' {aka 'std::__cxx11::basic_string<char>'})
   40 |         cin >> dial3;
      |         ~~~ ^~ ~~~~~
      |         |      |
      |         |      basic_string<[...]>
      |         basic_string<[...]>
In file included from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/string:56,
                 from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/bits/locale_classes.h:40,
                 from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/bits/ios_base.h:41,
                 from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/ios:42,
                 from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/ostream:38,
                 from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/iostream:39,
                 from prog.cc:1:
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/bits/basic_string.tcc:1476:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::__cxx11::basic_string<_CharT, _Traits, _Allocator>&)'
 1476 |     operator>>(basic_istream<_CharT, _Traits>& __in,
      |     ^~~~~~~~
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/bits/basic_string.tcc:1476:5: note:   template argument deduction/substitution failed:
prog.cc:40:16: note:   'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'std::basic_istream<_CharT, _Traits>'
   40 |         cin >> dial3;
      |                ^~~~~
In file included from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/istream:991,
                 from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/iostream:40,
                 from prog.cc:1:
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/bits/istream.tcc:931:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, _CharT&)'
  931 |     operator>>(basic_istream<_CharT, _Traits>& __in, _CharT& __c)
      |     ^~~~~~~~
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/bits/istream.tcc:931:5: note:   template argument deduction/substitution failed:
prog.cc:40:16: note:   'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'std::basic_istream<_CharT, _Traits>'
   40 |         cin >> dial3;
      |                ^~~~~
In file included from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/iostream:40,
                 from prog.cc:1:
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/istream:756:5: note: candidate: 'template<class _Traits> std::basic_istream<char, _Traits>& std::operator>>(std::basic_istream<char, _Traits>&, unsigned char&)'
  756 |     operator>>(basic_istream<char, _Traits>& __in, unsigned char& __c)
      |     ^~~~~~~~
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/istream:756:5: note:   template argument deduction/substitution failed:
prog.cc:40:16: note:   'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'std::basic_istream<char, _Traits>'
   40 |         cin >> dial3;
      |                ^~~~~
In file included from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/iostream:40,
                 from prog.cc:1:
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/istream:761:5: note: candidate: 'template<class _Traits> std::basic_istream<char, _Traits>& std::operator>>(std::basic_istream<char, _Traits>&, signed char&)'
  761 |     operator>>(basic_istream<char, _Traits>& __in, signed char& __c)
      |     ^~~~~~~~
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/istream:761:5: note:   template argument deduction/substitution failed:
prog.cc:40:16: note:   'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'std::basic_istream<char, _Traits>'
   40 |         cin >> dial3;
      |                ^~~~~
In file included from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/istream:991,
                 from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/iostream:40,
                 from prog.cc:1:
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/bits/istream.tcc:963:5: note: candidate: 'template<class _CharT2, class _Traits2> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, _CharT2*)'
  963 |     operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)
      |     ^~~~~~~~
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/bits/istream.tcc:963:5: note:   template argument deduction/substitution failed:
prog.cc:40:16: note:   'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'std::basic_istream<_CharT, _Traits>'
   40 |         cin >> dial3;
      |                ^~~~~
In file included from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/iostream:40,
                 from prog.cc:1:
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/istream:803:5: note: candidate: 'template<class _Traits> std::basic_istream<char, _Traits>& std::operator>>(std::basic_istream<char, _Traits>&, unsigned char*)'
  803 |     operator>>(basic_istream<char, _Traits>& __in, unsigned char* __s)
      |     ^~~~~~~~
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/istream:803:5: note:   template argument deduction/substitution failed:
prog.cc:40:16: note:   'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'std::basic_istream<char, _Traits>'
   40 |         cin >> dial3;
      |                ^~~~~
In file included from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/iostream:40,
                 from prog.cc:1:
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/istream:808:5: note: candidate: 'template<class _Traits> std::basic_istream<char, _Traits>& std::operator>>(std::basic_istream<char, _Traits>&, signed char*)'
  808 |     operator>>(basic_istream<char, _Traits>& __in, signed char* __s)
      |     ^~~~~~~~
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/istream:808:5: note:   template argument deduction/substitution failed:
prog.cc:40:16: note:   'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'std::basic_istream<char, _Traits>'
   40 |         cin >> dial3;
      |                ^~~~~
In file included from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/iostream:40,
                 from prog.cc:1:
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/istream:980:5: note: candidate: 'template<class _Istream, class _Tp> typename std::enable_if<std::__and_<std::__not_<std::is_lvalue_reference<_Tp> >, std::__is_convertible_to_basic_istream<_Istream>, std::__is_extractable<typename std::__is_convertible_to_basic_istream<_Tp>::__istream_type, _Tp&&, void> >::value, typename std::__is_convertible_to_basic_istream<_Tp>::__istream_type>::type std::operator>>(_Istream&&, _Tp&&)'
  980 |     operator>>(_Istream&& __is, _Tp&& __x)
      |     ^~~~~~~~
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/istream:980:5: note:   template argument deduction/substitution failed:
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/istream: In substitution of 'template<class _Istream, class _Tp> typename std::enable_if<std::__and_<std::__not_<std::is_lvalue_reference<_Tp> >, std::__is_convertible_to_basic_istream<_Istream>, std::__is_extractable<typename std::__is_convertible_to_basic_istream<_Tp>::__istream_type, _Tp&&, void> >::value, typename std::__is_convertible_to_basic_istream<_Tp>::__istream_type>::type std::operator>>(_Istream&&, _Tp&&) [with _Istream = std::__cxx11::basic_string<char>&; _Tp = std::__cxx11::basic_string<char>&]':
prog.cc:40:16:   required from here
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/istream:980:5: error: no type named 'type' in 'struct std::enable_if<false, void>'
prog.cc:48:13: error: no match for 'operator>>' (operand types are 'std::string' {aka 'std::__cxx11::basic_string<char>'} and 'std::string' {aka 'std::__cxx11::basic_string<char>'})
   48 |         cin >> cin;
      |         ~~~ ^~ ~~~
      |         |      |
      |         |      basic_string<[...]>
      |         basic_string<[...]>
In file included from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/string:56,
                 from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/bits/locale_classes.h:40,
                 from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/bits/ios_base.h:41,
                 from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/ios:42,
                 from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/ostream:38,
                 from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/iostream:39,
                 from prog.cc:1:
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/bits/basic_string.tcc:1476:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::__cxx11::basic_string<_CharT, _Traits, _Allocator>&)'
 1476 |     operator>>(basic_istream<_CharT, _Traits>& __in,
      |     ^~~~~~~~
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/bits/basic_string.tcc:1476:5: note:   template argument deduction/substitution failed:
prog.cc:48:16: note:   'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'std::basic_istream<_CharT, _Traits>'
   48 |         cin >> cin;
      |                ^~~
In file included from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/istream:991,
                 from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/iostream:40,
                 from prog.cc:1:
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/bits/istream.tcc:931:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, _CharT&)'
  931 |     operator>>(basic_istream<_CharT, _Traits>& __in, _CharT& __c)
      |     ^~~~~~~~
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/bits/istream.tcc:931:5: note:   template argument deduction/substitution failed:
prog.cc:48:16: note:   'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'std::basic_istream<_CharT, _Traits>'
   48 |         cin >> cin;
      |                ^~~
In file included from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/iostream:40,
                 from prog.cc:1:
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/istream:756:5: note: candidate: 'template<class _Traits> std::basic_istream<char, _Traits>& std::operator>>(std::basic_istream<char, _Traits>&, unsigned char&)'
  756 |     operator>>(basic_istream<char, _Traits>& __in, unsigned char& __c)
      |     ^~~~~~~~
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/istream:756:5: note:   template argument deduction/substitution failed:
prog.cc:48:16: note:   'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'std::basic_istream<char, _Traits>'
   48 |         cin >> cin;
      |                ^~~
In file included from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/iostream:40,
                 from prog.cc:1:
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/istream:761:5: note: candidate: 'template<class _Traits> std::basic_istream<char, _Traits>& std::operator>>(std::basic_istream<char, _Traits>&, signed char&)'
  761 |     operator>>(basic_istream<char, _Traits>& __in, signed char& __c)
      |     ^~~~~~~~
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/istream:761:5: note:   template argument deduction/substitution failed:
prog.cc:48:16: note:   'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'std::basic_istream<char, _Traits>'
   48 |         cin >> cin;
      |                ^~~
In file included from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/istream:991,
                 from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/iostream:40,
                 from prog.cc:1:
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/bits/istream.tcc:963:5: note: candidate: 'template<class _CharT2, class _Traits2> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, _CharT2*)'
  963 |     operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)
      |     ^~~~~~~~
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/bits/istream.tcc:963:5: note:   template argument deduction/substitution failed:
prog.cc:48:16: note:   'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'std::basic_istream<_CharT, _Traits>'
   48 |         cin >> cin;
      |                ^~~
In file included from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/iostream:40,
                 from prog.cc:1:
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/istream:803:5: note: candidate: 'template<class _Traits> std::basic_istream<char, _Traits>& std::operator>>(std::basic_istream<char, _Traits>&, unsigned char*)'
  803 |     operator>>(basic_istream<char, _Traits>& __in, unsigned char* __s)
      |     ^~~~~~~~
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/istream:803:5: note:   template argument deduction/substitution failed:
prog.cc:48:16: note:   'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'std::basic_istream<char, _Traits>'
   48 |         cin >> cin;
      |                ^~~
In file included from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/iostream:40,
                 from prog.cc:1:
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/istream:808:5: note: candidate: 'template<class _Traits> std::basic_istream<char, _Traits>& std::operator>>(std::basic_istream<char, _Traits>&, signed char*)'
  808 |     operator>>(basic_istream<char, _Traits>& __in, signed char* __s)
      |     ^~~~~~~~
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/istream:808:5: note:   template argument deduction/substitution failed:
prog.cc:48:16: note:   'std::string' {aka 'std::__cxx11::basic_string<char>'} is not derived from 'std::basic_istream<char, _Traits>'
   48 |         cin >> cin;
      |                ^~~
In file included from /opt/wandbox/gcc-10.1.0/include/c++/10.1.0/iostream:40,
                 from prog.cc:1:
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/istream:980:5: note: candidate: 'template<class _Istream, class _Tp> typename std::enable_if<std::__and_<std::__not_<std::is_lvalue_reference<_Tp> >, std::__is_convertible_to_basic_istream<_Istream>, std::__is_extractable<typename std::__is_convertible_to_basic_istream<_Tp>::__istream_type, _Tp&&, void> >::value, typename std::__is_convertible_to_basic_istream<_Tp>::__istream_type>::type std::operator>>(_Istream&&, _Tp&&)'
  980 |     operator>>(_Istream&& __is, _Tp&& __x)
      |     ^~~~~~~~
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/istream:980:5: note:   template argument deduction/substitution failed:
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/istream: In substitution of 'template<class _Istream, class _Tp> typename std::enable_if<std::__and_<std::__not_<std::is_lvalue_reference<_Tp> >, std::__is_convertible_to_basic_istream<_Istream>, std::__is_extractable<typename std::__is_convertible_to_basic_istream<_Tp>::__istream_type, _Tp&&, void> >::value, typename std::__is_convertible_to_basic_istream<_Tp>::__istream_type>::type std::operator>>(_Istream&&, _Tp&&) [with _Istream = std::__cxx11::basic_string<char>&; _Tp = std::__cxx11::basic_string<char>&]':
prog.cc:48:16:   required from here
/opt/wandbox/gcc-10.1.0/include/c++/10.1.0/istream:980:5: error: no type named 'type' in 'struct std::enable_if<false, void>'
prog.cc:60:46: error: expected ';' before 'cin'
   60 |     cout << "Enter the passcode to continue."
      |                                              ^
      |                                              ;
   61 |     cin >> hee;
      |     ~~~                                       
prog.cc:67:5: error: 'calls' was not declared in this scope; did you mean 'calloc'?
   67 |     calls." << endl;
      |     ^~~~~
      |     calloc
prog.cc:73:9: error: expected unqualified-id before '}' token
   73 |         }
      |         ^
prog.cc:75:29: error: expected primary-expression before '>' token
   75 |         if (hee < "4321" or > "4321"){
      |                             ^
Exit Code:
1