我正在 Debian 7.0.0 上使用 CodeBlocks 10.05 开发 C++ 应用程序。
由于某种原因,下面的代码
#include <iostream>
std::vector< int > delaunayDiv(const std::vector< int <T> > & vP, cv::Rect boundRect,
std::vector<int>& triangles, int& numTriangles, bool lookRight);
返回以下错误
error: 'vector' in namespace 'std' does not name a type
最佳答案
您应该包含 vector
header :
#include <vector>
关于c++ - 命名空间 'std' 中的“vector ”未命名类型,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16868230/