502902_0_0_13444.cpp
502902_0_0_13444.cpp(9) : error C2475: “std::basic_istream<_Elem,_Traits>::getline” : 构造一个指向成员的指针需要显式使用 address-of 运算符('&')和限定名
with
[
_Elem=char,
_Traits=std::char_traits<char>
]
502902_0_0_13444.cpp(9) : error C2440: “=” : 无法从“overloaded-function”转换为“std::string”
502902_0_0_13444.cpp(9) : error C2593: “operator =”不明确
VC\include\xstring(475): 可能是“std::basic_string<_Elem,_Traits,_Ax>::_Myt &std::basic_string<_Elem,_Traits,_Ax>::operator =(_Elem)”
with
[
_Elem=char,
_Traits=std::char_traits<char>,
_Ax=std::allocator<char>
]
VC\include\xstring(470): 或 “std::basic_string<_Elem,_Traits,_Ax>::_Myt &std::basic_string<_Elem,_Traits,_Ax>::operator =(const _Elem *)”
with
[
_Elem=char,
_Traits=std::char_traits<char>,
_Ax=std::allocator<char>
]
试图匹配参数列表“(std::string, int)”时
502902_0_0_13444.cpp(16) : error C2661: “std::basic_istream<_Elem,_Traits>::getline” : 没有重载函数接受 0 个参数
with
[
_Elem=char,
_Traits=std::char_traits<char>
]
502902_0_0_13444.cpp(28) : error C2661: “std::basic_istream<_Elem,_Traits>::getline” : 没有重载函数接受 0 个参数
with
[
_Elem=char,
_Traits=std::char_traits<char>
]
|