1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
|
mapWalk.cpp
.\mapWalk.cpp(7): error C2664: 'std::basic_istream<char,std::char_traits<char>>::basic_istream(const std::basic_istream<
char,std::char_traits<char>> &)': cannot convert argument 1 from 'std::string' to 'std::basic_streambuf<char,std::char_t
raits<char>> *'
.\mapWalk.cpp(7): note: No user-defined-conversion operator available that can perform this conversion, or the operator
cannot be called
.\mapWalk.cpp(8): error C2664: 'std::basic_ostream<char,std::char_traits<char>>::basic_ostream(const std::basic_ostream<
char,std::char_traits<char>> &)': cannot convert argument 1 from 'std::string' to 'std::basic_streambuf<char,std::char_t
raits<char>> *'
.\mapWalk.cpp(8): note: No user-defined-conversion operator available that can perform this conversion, or the operator
cannot be called
.\mapWalk.cpp(26): error C2059: syntax error: ']'
.\mapWalk.cpp(28): error C2059: syntax error: ']'
.\mapWalk.cpp(52): error C2678: binary '>>': no operator found which takes a left-hand operand of type 'std::istream' (o
r there is no acceptable conversion)
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\istream(482): note: could be 'std::basic_istream<char,std
::char_traits<char>> &std::basic_istream<char,std::char_traits<char>>::operator >>(std::basic_streambuf<char,std::char_t
raits<char>> *)'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\istream(463): note: or 'std::basic_istream<char,std
::char_traits<char>> &std::basic_istream<char,std::char_traits<char>>::operator >>(void *&)'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\istream(445): note: or 'std::basic_istream<char,std
::char_traits<char>> &std::basic_istream<char,std::char_traits<char>>::operator >>(long double &)'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\istream(427): note: or 'std::basic_istream<char,std
::char_traits<char>> &std::basic_istream<char,std::char_traits<char>>::operator >>(double &)'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\istream(408): note: or 'std::basic_istream<char,std
::char_traits<char>> &std::basic_istream<char,std::char_traits<char>>::operator >>(float &)'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\istream(390): note: or 'std::basic_istream<char,std
::char_traits<char>> &std::basic_istream<char,std::char_traits<char>>::operator >>(unsigned __int64 &)'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\istream(371): note: or 'std::basic_istream<char,std
::char_traits<char>> &std::basic_istream<char,std::char_traits<char>>::operator >>(__int64 &)'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\istream(352): note: or 'std::basic_istream<char,std
::char_traits<char>> &std::basic_istream<char,std::char_traits<char>>::operator >>(unsigned long &)'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\istream(334): note: or 'std::basic_istream<char,std
::char_traits<char>> &std::basic_istream<char,std::char_traits<char>>::operator >>(long &)'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\istream(316): note: or 'std::basic_istream<char,std
::char_traits<char>> &std::basic_istream<char,std::char_traits<char>>::operator >>(unsigned int &)'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\istream(290): note: or 'std::basic_istream<char,std
::char_traits<char>> &std::basic_istream<char,std::char_traits<char>>::operator >>(int &)'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\istream(271): note: or 'std::basic_istream<char,std
::char_traits<char>> &std::basic_istream<char,std::char_traits<char>>::operator >>(unsigned short &)'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\istream(236): note: or 'std::basic_istream<char,std
::char_traits<char>> &std::basic_istream<char,std::char_traits<char>>::operator >>(short &)'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\istream(217): note: or 'std::basic_istream<char,std
::char_traits<char>> &std::basic_istream<char,std::char_traits<char>>::operator >>(bool &)'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\istream(210): note: or 'std::basic_istream<char,std
::char_traits<char>> &std::basic_istream<char,std::char_traits<char>>::operator >>(std::ios_base &(__cdecl *)(std::ios_b
ase &))'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\istream(203): note: or 'std::basic_istream<char,std
::char_traits<char>> &std::basic_istream<char,std::char_traits<char>>::operator >>(std::basic_ios<char,std::char_traits<
char>> &(__cdecl *)(std::basic_ios<char,std::char_traits<char>> &))'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\istream(197): note: or 'std::basic_istream<char,std
::char_traits<char>> &std::basic_istream<char,std::char_traits<char>>::operator >>(std::basic_istream<char,std::char_tra
its<char>> &(__cdecl *)(std::basic_istream<char,std::char_traits<char>> &))'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\istream(1073): note: or 'std::basic_istream<char,st
d::char_traits<char>> &std::operator >><std::char_traits<char>>(std::basic_istream<char,std::char_traits<char>> &,signed
char *)'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\istream(1080): note: or 'std::basic_istream<char,st
d::char_traits<char>> &std::operator >><std::char_traits<char>>(std::basic_istream<char,std::char_traits<char>> &,signed
char &)'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\istream(1087): note: or 'std::basic_istream<char,st
d::char_traits<char>> &std::operator >><std::char_traits<char>>(std::basic_istream<char,std::char_traits<char>> &,unsign
ed char *)'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\istream(1094): note: or 'std::basic_istream<char,st
d::char_traits<char>> &std::operator >><std::char_traits<char>>(std::basic_istream<char,std::char_traits<char>> &,unsign
ed char &)'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\istream(1104): note: or 'std::basic_istream<char,st
d::char_traits<char>> &std::operator >><char,std::char_traits<char>,const int>(std::basic_istream<char,std::char_traits<
char>> &&,_Ty &)'
with
[
_Ty=const int
]
.\mapWalk.cpp(52): note: while trying to match the argument list '(std::istream, const int)'
|