| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 326 人关注过本帖
标题:vs2019代码运行报错,求解
只看楼主 加入收藏
慢慢学
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2023-9-15
结帖率:0
收藏
已结贴  问题点数:20 回复次数:2 
vs2019代码运行报错,求解
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(524,37): error C2825: '_Alloc': 当后面跟“::”时必须为类或命名空间
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(705): message : 查看对正在编译的 类 模板 实例化“std::_Normal_allocator_traits<_Alloc>”的引用
1>        with
1>        [
1>            _Alloc=float
1>        ]
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\vector(436): message : 查看对正在编译的 类 模板 实例化“std::allocator_traits<_Alloc>”的引用
1>        with
1>        [
1>            _Alloc=float
1>        ]
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\vector(436): message : 查看对正在编译的 别名 模板 实例化“std::_Rebind_alloc_t<float,float>”的引用
1>E:\weixin\Project1\MFCremove.cpp(1935): message : 查看对正在编译的 类 模板 实例化“std::vector<float,float>”的引用
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(524,45): error C2510: “_Alloc”:“::”的左边必须是类/结构/联合
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(524,1): error C2061: 语法错误: 标识符“value_type”
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(332,27): error C2825: '_Ty': 当后面跟“::”时必须为类或命名空间
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(526): message : 查看对正在编译的 类 模板 实例化“std::_Get_pointer_type<_Alloc,void>”的引用
1>        with
1>        [
1>            _Alloc=float
1>        ]
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(332,32): error C2510: “_Ty”:“::”的左边必须是类/结构/联合
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(332,1): error C2061: 语法错误: 标识符“value_type”
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(526,68): error C2039: "type": 不是 "std::_Get_pointer_type<_Alloc,void>" 的成员
1>        with
1>        [
1>            _Alloc=float
1>        ]
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(526): message : 参见“std::_Get_pointer_type<_Alloc,void>”的声明
1>        with
1>        [
1>            _Alloc=float
1>        ]
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(526,1): error C2061: 语法错误: 标识符“type”
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(344,53): error C2039: "type": 不是 "std::_Get_pointer_type<_Alloc,void>" 的成员
1>        with
1>        [
1>            _Alloc=float
1>        ]
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(526): message : 参见“std::_Get_pointer_type<_Alloc,void>”的声明
1>        with
1>        [
1>            _Alloc=float
1>        ]
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(527): message : 查看对正在编译的 类 模板 实例化“std::_Get_const_pointer_type<_Alloc,void>”的引用
1>        with
1>        [
1>            _Alloc=float
1>        ]
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(344,1): error C2061: 语法错误: 标识符“type”
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(345,29): error C2825: '_Ty': 当后面跟“::”时必须为类或命名空间
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(345,34): error C2510: “_Ty”:“::”的左边必须是类/结构/联合
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(345,1): error C2061: 语法错误: 标识符“value_type”
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(346,44): error C2065: “_Ptrty”: 未声明的标识符
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(346,29): error C2923: “std::pointer_traits”: 对于参数“_Ty”,“_Ptrty”不是有效的 模板 类型变量
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(346): message : 参见“_Ptrty”的声明
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(346,1): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(346,75): error C2146: 语法错误: 缺少“>”(在标识符“_Valty”的前面)
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(358,53): error C2039: "type": 不是 "std::_Get_pointer_type<_Alloc,void>" 的成员
1>        with
1>        [
1>            _Alloc=float
1>        ]
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(526): message : 参见“std::_Get_pointer_type<_Alloc,void>”的声明
1>        with
1>        [
1>            _Alloc=float
1>        ]
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(528): message : 查看对正在编译的 类 模板 实例化“std::_Get_void_pointer_type<_Alloc,void>”的引用
1>        with
1>        [
1>            _Alloc=float
1>        ]
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(358,1): error C2061: 语法错误: 标识符“type”
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(359,44): error C2065: “_Ptrty”: 未声明的标识符
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(359,29): error C2923: “std::pointer_traits”: 对于参数“_Ty”,“_Ptrty”不是有效的 模板 类型变量
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(359): message : 参见“_Ptrty”的声明
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(369,53): error C2039: "type": 不是 "std::_Get_pointer_type<_Alloc,void>" 的成员
1>        with
1>        [
1>            _Alloc=float
1>        ]
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(526): message : 参见“std::_Get_pointer_type<_Alloc,void>”的声明
1>        with
1>        [
1>            _Alloc=float
1>        ]
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(529): message : 查看对正在编译的 类 模板 实例化“std::_Get_const_void_pointer_type<_Alloc,void>”的引用
1>        with
1>        [
1>            _Alloc=float
1>        ]
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(369,1): error C2061: 语法错误: 标识符“type”
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(370,44): error C2065: “_Ptrty”: 未声明的标识符
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(370,29): error C2923: “std::pointer_traits”: 对于参数“_Ty”,“_Ptrty”不是有效的 模板 类型变量
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(370): message : 参见“_Ptrty”的声明
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(380,53): error C2039: "type": 不是 "std::_Get_pointer_type<_Alloc,void>" 的成员
1>        with
1>        [
1>            _Alloc=float
1>        ]
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(526): message : 参见“std::_Get_pointer_type<_Alloc,void>”的声明
1>        with
1>        [
1>            _Alloc=float
1>        ]
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(391): message : 查看对正在编译的 类 模板 实例化“std::_Get_difference_type<_Ty,void>”的引用
1>        with
1>        [
1>            _Ty=float
1>        ]
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(531): message : 查看对正在编译的 类 模板 实例化“std::_Get_size_type<_Alloc,void>”的引用
1>        with
1>        [
1>            _Alloc=float
1>        ]
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(380,1): error C2061: 语法错误: 标识符“type”
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(381,44): error C2065: “_Ptrty”: 未声明的标识符
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(381,29): error C2923: “std::pointer_traits”: 对于参数“_Ty”,“_Ptrty”不是有效的 模板 类型变量
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(381): message : 参见“_Ptrty”的声明
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(381,53): error C2955: “std::pointer_traits”: 使用 类 模板 需要 模板 参数列表
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xutility(159): message : 参见“std::pointer_traits”的声明
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(546,9): error C3646: “allocate”: 未知重写说明符
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(546,26): error C2065: “_Al”: 未声明的标识符
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(546,18): error C2275: “_Alloc”: 将此类型用作表达式非法
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(546,31): error C2226: 语法错误: 意外的“std::_Normal_allocator_traits<_Alloc>::size_type”类型
1>        with
1>        [
1>            _Alloc=float
1>        ]
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(546,1): error C2334: “{”的前面有意外标记;跳过明显的函数体
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(551,9): error C3646: “allocate”: 未知重写说明符
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(551,26): error C2065: “_Al”: 未声明的标识符
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(551,18): error C2275: “_Alloc”: 将此类型用作表达式非法
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(551,31): error C2226: 语法错误: 意外的“std::_Normal_allocator_traits<_Alloc>::size_type”类型
1>        with
1>        [
1>            _Alloc=float
1>        ]
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(551,1): error C2334: “{”的前面有意外标记;跳过明显的函数体
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(559,63): error C2061: 语法错误: 标识符“pointer”
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(443,66): error C2027: 使用了未定义类型“std::_Replace_first_parameter<_Other,_Ty>”
1>        with
1>        [
1>            _Other=float,
1>            _Ty=float
1>        ]
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(443): message : 参见“std::_Replace_first_parameter<_Other,_Ty>”的声明
1>        with
1>        [
1>            _Other=float,
1>            _Ty=float
1>        ]
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\vector(436): message : 查看对正在编译的 类 模板 实例化“std::_Get_rebind_type<_Alloc,_Ty,void>”的引用
1>        with
1>        [
1>            _Alloc=float,
1>            _Ty=float
1>        ]
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(722): message : 查看对正在编译的 别名 模板 实例化“std::_Normal_allocator_traits<_Alloc>::rebind_alloc<_Ty>”的引用
1>        with
1>        [
1>            _Alloc=float,
1>            _Ty=float
1>        ]
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(443,60): error C2061: 语法错误: 标识符“type”
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(540,69): error C2794: “type”: 不是“std::_Get_rebind_type<_Alloc,_Ty,void>”的任何直接或间接基类的成员
1>        with
1>        [
1>            _Alloc=float,
1>            _Ty=float
1>        ]
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\vector(436,50): error C2938: “std::_Normal_allocator_traits<_Alloc>::rebind_alloc”: 未能使别名模板专用化
1>        with
1>        [
1>            _Alloc=float
1>        ]
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\vector(436,50): error C2938: “std::_Rebind_alloc_t”: 未能使别名模板专用化
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\vector(440,76): error C2825: '_Alloc': 当后面跟“::”时必须为类或命名空间
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\vector(440,84): error C2510: “_Alloc”:“::”的左边必须是类/结构/联合
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\vector(440,1): error C2146: 语法错误: 缺少“>”(在标识符“value_type”的前面)
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\vector(440): error C2062: 意外的类型“unknown-type”
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\vector(441,1): error C2238: 意外的标记位于“;”之前
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\vector(445,52): error C2955: “std::allocator_traits”: 使用 类 模板 需要 模板 参数列表
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(704): message : 参见“std::allocator_traits”的声明
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\vector(445,52): error C2039: "pointer": 不是 "std::allocator_traits<_Alloc>" 的成员
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\vector(445,1): error C2061: 语法错误: 标识符“pointer”
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\vector(446,52): error C2955: “std::allocator_traits”: 使用 类 模板 需要 模板 参数列表
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(704): message : 参见“std::allocator_traits”的声明
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\vector(446,52): error C2039: "const_pointer": 不是 "std::allocator_traits<_Alloc>" 的成员
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\vector(446,1): error C2061: 语法错误: 标识符“const_pointer”
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\vector(449,52): error C2955: “std::allocator_traits”: 使用 类 模板 需要 模板 参数列表
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(704): message : 参见“std::allocator_traits”的声明
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\vector(449,52): error C2039: "size_type": 不是 "std::allocator_traits<_Alloc>" 的成员
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\vector(449,1): error C2061: 语法错误: 标识符“size_type”
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\vector(450,52): error C2955: “std::allocator_traits”: 使用 类 模板 需要 模板 参数列表
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(704): message : 参见“std::allocator_traits”的声明
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\vector(450,52): error C2039: "difference_type": 不是 "std::allocator_traits<_Alloc>" 的成员
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\vector(450,1): error C2061: 语法错误: 标识符“difference_type”
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\vector(454,30): error C2065: “size_type”: 未声明的标识符
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\vector(454,41): error C2065: “difference_type”: 未声明的标识符
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\vector(454,58): error C2065: “pointer”: 未声明的标识符
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\vector(454,67): error C2065: “const_pointer”: 未声明的标识符
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\vector(454,9): error C2923: “std::_Vec_iter_types”: 对于参数“_Size_type”,“size_type”不是有效的 模板 类型变量
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\vector(454): message : 参见“size_type”的声明
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\vector(454,9): error C2923: “std::_Vec_iter_types”: 对于参数“_Difference_type”,“difference_type”不是有效的 模板 类型变量
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\vector(454): message : 参见“difference_type”的声明
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\vector(454,9): error C2923: “std::_Vec_iter_types”: 对于参数“_Pointer”,“pointer”不是有效的 模板 类型变量
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\vector(454): message : 参见“pointer”的声明
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\vector(454,9): error C2923: “std::_Vec_iter_types”: 对于参数“_Const_pointer”,“const_pointer”不是有效的 模板 类型变量
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\vector(454): message : 参见“const_pointer”的声明
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\vector(454,88): error C2993: “unknown-type”: 不是非类型模板参数“_Test”的有效类型
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\vector(457,53): error C3203: “_Vector_val”: 未专用化的 类 模板 不能用作 模板 变量,该变量属于 模板 参数“_Myvec”,应为 real 类型
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\vector(458,59): error C3203: “_Vector_val”: 未专用化的 类 模板 不能用作 模板 变量,该变量属于 模板 参数“_Myvec”,应为 real 类型
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\vector(473,5): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\vector(473,94): error C2146: 语法错误: 缺少“)”(在标识符“_Count”的前面)
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\vector(473,94): error C3646: “_Count”: 未知重写说明符
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\vector(473,100): error C2988: 不可识别的模板声明/定义
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\vector(473,100): error C2059: 语法错误:“,”
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\vector(473,5): error C2059: 语法错误:“)”
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\vector(473,1): error C2334: “{”的前面有意外标记;跳过明显的函数体
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\vector(488,1): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\vector(488,79): error C2146: 语法错误: 缺少“)”(在标识符“_Count”的前面)
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\vector(488,79): error C3646: “_Count”: 未知重写说明符
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\vector(488,99): error C2988: 不可识别的模板声明/定义
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\vector(488,99): error C2143: 语法错误: 缺少“;”(在“&”的前面)
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\vector(488,99): error C2059: 语法错误:“&”
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\vector(488,1): error C2059: 语法错误:“)”
1>E:\Software1\VisualStudio\VS2019\Community\VC\Tools\MSVC\14.29.30133\include\vector(488,1): error C2334: “:”的前面有意外标记;跳过明显的函数体
1>E:\weixin\Project1\MFCremove.cpp(1745): fatal error C1075: “{”: 未找到匹配令牌
搜索更多相关主题的帖子: vector VC include vs2019 std 
2023-09-15 16:47
rjsp
Rank: 20Rank: 20Rank: 20Rank: 20Rank: 20
等 级:版主
威 望:528
帖 子:9007
专家分:53942
注 册:2011-1-18
收藏
得分:10 
你不贴代码?
2023-09-15 16:57
forever74
Rank: 20Rank: 20Rank: 20Rank: 20Rank: 20
来 自:CC
等 级:版主
威 望:58
帖 子:1685
专家分:4252
注 册:2007-12-27
收藏
得分:10 
类似于胡建人和弗兰人交流有困难一样,软件移植并不是一个轻松愉快的活儿。

对宇宙最严谨的描述应该就是宇宙其实是不严谨的
2023-09-15 18:00
快速回复:vs2019代码运行报错,求解
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.017535 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved