0_0_24456287_31780.cpp
0_0_24456287_31780.cpp(13) : error C2065: “sring”: 未声明的标识符
0_0_24456287_31780.cpp(13) : error C2146: 语法错误: 缺少“;”(在标识符“temp”的前面)
0_0_24456287_31780.cpp(13) : error C2065: “temp”: 未声明的标识符
0_0_24456287_31780.cpp(15) : error C2065: “temp”: 未声明的标识符
0_0_24456287_31780.cpp(20) : error C2143: 语法错误 : 缺少“,”(在“;”的前面)
0_0_24456287_31780.cpp(20) : error C2143: 语法错误 : 缺少“;”(在“)”的前面)
0_0_24456287_31780.cpp(27) : error C2664: “std::_String_iterator<std::_String_val<std::_Simple_types<char>>> std::basic_string<char,std::char_traits<char>,std::allocator<char>>::insert(std::_String_const_iterator<std::_String_val<std::_Simple_types<char>>>,std::_String_const_iterator<std::_String_val<std::_Simple_types<char>>>,std::_String_const_iterator<std::_String_val<std::_Simple_types<char>>>)”: 无法将参数 1 从“int”转换为“std::_String_const_iterator<std::_String_val<std::_Simple_types<char>>>”
无构造函数可以接受源类型,或构造函数重载决策不明确
0_0_24456287_31780.cpp(46) : error C2065: “n”: 未声明的标识符
0_0_24456287_31780.cpp(46) : error C2660: “add”: 函数不接受 1 个参数
0_0_24456287_31780.cpp(52) : error C2679: 二进制“<<”: 没有找到接受“std::string”类型的右操作数的运算符(或没有可接受的转换)
VC2013\INCLUDE\ostream(498): 可能是“std::basic_ostream<char,std::char_traits<char>> &std::basic_ostream<char,std::char_traits<char>>::operator <<(std::basic_streambuf<char,std::char_traits<char>> *)”
VC2013\INCLUDE\ostream(478): 或 “std::basic_ostream<char,std::char_traits<char>> &std::basic_ostream<char,std::char_traits<char>>::operator <<(const void *)”
VC2013\INCLUDE\ostream(458): 或 “std::basic_ostream<char,std::char_traits<char>> &std::basic_ostream<char,std::char_traits<char>>::operator <<(long double)”
VC2013\INCLUDE\ostream(438): 或 “std::basic_ostream<char,std::char_traits<char>> &std::basic_ostream<char,std::char_traits<char>>::operator <<(double)”
VC2013\INCLUDE\ostream(418): 或 “std::basic_ostream<char,std::char_traits<char>> &std::basic_ostream<char,std::char_traits<char>>::operator <<(float)”
VC2013\INCLUDE\ostream(397): 或 “std::basic_ostream<char,std::char_traits<char>> &std::basic_ostream<char,std::char_traits<char>>::operator <<(unsigned __int64)”
VC2013\INCLUDE\ostream(377): 或 “std::basic_ostream<char,std::char_traits<char>> &std::basic_ostream<char,std::char_traits<char>>::operator <<(__int64)”
VC2013\INCLUDE\ostream(356): 或 “std::basic_ostream<char,std::char_traits<char>> &std::basic_ostream<char,std::char_traits<char>>::operator <<(unsigned long)”
VC2013\INCLUDE\ostream(336): 或 “std::basic_ostream<char,std::char_traits<char>> &std::basic_ostream<char,std::char_traits<char>>::operator <<(long)”
VC2013\INCLUDE\ostream(316): 或 “std::basic_ostream<char,std::char_traits<char>> &std::basic_ostream<char,std::char_traits<char>>::operator <<(unsigned int)”
VC2013\INCLUDE\ostream(291): 或 “std::basic_ostream<char,std::char_traits<char>> &std::basic_ostream<char,std::char_traits<char>>::operator <<(int)”
VC2013\INCLUDE\ostream(271): 或 “std::basic_ostream<char,std::char_traits<char>> &std::basic_ostream<char,std::char_traits<char>>::operator <<(unsigned short)”
VC2013\INCLUDE\ostream(237): 或 “std::basic_ostream<char,std::char_traits<char>> &std::basic_ostream<char,std::char_traits<char>>::operator <<(short)”
VC2013\INCLUDE\ostream(217): 或 “std::basic_ostream<char,std::char_traits<char>> &std::basic_ostream<char,std::char_traits<char>>::operator <<(std::_Bool)”
VC2013\INCLUDE\ostream(210): 或 “std::basic_ostream<char,std::char_traits<char>> &std::basic_ostream<char,std::char_traits<char>>::operator <<(std::ios_base &(__cdecl *)(std::ios_base &))”
VC2013\INCLUDE\ostream(203): 或 “std::basic_ostream<char,std::char_traits<char>> &std::basic_ostream<char,std::char_traits<char>>::operator <<(std::basic_ios<char,std::char_traits<char>> &(__cdecl *)(std::basic_ios<char,std::char_traits<char>> &))”
VC2013\INCLUDE\ostream(197): 或 “std::basic_ostream<char,std::char_traits<char>> &std::basic_ostream<char,std::char_traits<char>>::operator <<(std::basic_ostream<char,std::char_traits<char>> &(__cdecl *)(std::basic_ostream<char,std::char_traits<char>> &))”
VC2013\INCLUDE\ostream(1026): 或 “std::basic_ostream<char,std::char_traits<char>> &std::operator <<<char,std::char_traits<char>>(std::basic_ostream<char,std::char_traits<char>> &,const std::error_code &)”
VC2013\INCLUDE\ostream(988): 或 “std::basic_ostream<char,std::char_traits<char>> &std::operator <<<char,std::char_traits<char>,std::string>(std::basic_ostream<char,std::char_traits<char>> &&,const _Ty &)”
with
[
_Ty=std::string
]
VC2013\INCLUDE\ostream(978): 或 “std::basic_ostream<char,std::char_traits<char>> &std::operator <<<std::char_traits<char>>(std::basic_ostream<char,std::char_traits<char>> &,unsigned char)”
VC2013\INCLUDE\ostream(971): 或 “std::basic_ostream<char,std::char_traits<char>> &std::operator <<<std::char_traits<char>>(std::basic_ostream<char,std::char_traits<char>> &,const unsigned char *)”
VC2013\INCLUDE\ostream(964): 或 “std::basic_ostream<char,std::char_traits<char>> &std::operator <<<std::char_traits<char>>(std::basic_ostream<char,std::char_traits<char>> &,signed char)”
VC2013\INCLUDE\ostream(957): 或 “std::basic_ostream<char,std::char_traits<char>> &std::operator <<<std::char_traits<char>>(std::basic_ostream<char,std::char_traits<char>> &,const signed char *)”
VC2013\INCLUDE\ostream(831): 或 “std::basic_ostream<char,std::char_traits<char>> &std::operator <<<std::char_traits<char>>(std::basic_ostream<char,std::char_traits<char>> &,char)”
VC2013\INCLUDE\ostream(784): 或 “std::basic_ostream<char,std::char_traits<char>> &std::operator <<<std::char_traits<char>>(std::basic_ostream<char,std::char_traits<char>> &,const char *)”
VC2013\INCLUDE\ostream(746): 或 “std::basic_ostream<char,std::char_traits<char>> &std::operator <<<char,std::char_traits<char>>(std::basic_ostream<char,std::char_traits<char>> &,char)”
VC2013\INCLUDE\ostream(699): 或 “std::basic_ostream<char,std::char_traits<char>> &std::operator <<<char,std::char_traits<char>>(std::basic_ostream<char,std::char_traits<char>> &,const char *)”
尝试匹配参数列表“(std::ostream, std::string)”时
|