0
回答
sp++3.0引用错误
极速云服务器,低至1.04元/天>>>   

@张明 你好,想跟你请教个问题:我用vs2010调用了您的sp++3.0,出现了如下错误:

1>D:\cproject\SP++3.0\include\vector.h(181): warning C4003: “min”宏的实参不足
1>D:\cproject\SP++3.0\include\vector.h(181): error C2027: 使用了未定义类型“Type”
1>D:\cproject\SP++3.0\include\vector.h(181): error C2226: 语法错误 : 意外的“splab::Vector<Type>”类型
1>D:\cproject\SP++3.0\include\vector.h(181): error C2988: 不可识别的模板声明/定义
1>D:\cproject\SP++3.0\include\vector.h(181): error C2059: 语法错误:“)”
1>D:\cproject\SP++3.0\include\vector.h(181): error C2059: 语法错误:“)”
1>D:\cproject\SP++3.0\include\vector.h(182): warning C4003: “max”宏的实参不足
1>D:\cproject\SP++3.0\include\vector.h(182): error C2065: “Type”: 未声明的标识符
1>D:\cproject\SP++3.0\include\vector.h(182): error C2065: “Type”: 未声明的标识符
1>D:\cproject\SP++3.0\include\vector.h(182): error C2988: 不可识别的模板声明/定义
1>D:\cproject\SP++3.0\include\vector.h(182): error C2059: 语法错误:“)”
1>D:\cproject\SP++3.0\include\vector.h(182): error C2059: 语法错误:“)”

<无标签>
举报
wood521
发帖于4年前 0回/121阅
顶部