【调试错误】error C2065: “vector”: 未声明的标识符

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接: https://blog.csdn.net/qq_15698613/article/details/99713429

1.加上头文件#include <vector>

2.加上using namespace std;

#include <vector>
#include <stdio.h>

using namespace cv;
using namespace std;

int main(int argc, char** argv){
	Mat img;
	vector<Rect> found, foundRect;

猜你喜欢

转载自blog.csdn.net/qq_15698613/article/details/99713429
今日推荐