分类:1. 下载安装Boost 2. 在vs2010 中设置 工具->选项->vc++目录设置包含文件目录:找到解压的boost文件夹eg:C:\boost_1_43_03. 编写测试程序最简单的,新建一个win32控制台程序,选择“空项目”;然后添加新建项->代码->C++文件(.cpp),然后编...
分类:
编程语言 时间:
2015-05-19 22:35:11
阅读次数:
182
页内索引题目要求程序代码结果图片要言妙道借鉴参考题目要求:a、检测轮廓并计算轮廓长度b、分别使用1/90,1/66,1/11,1/10做为精度参数,使用cvApproxPoly逼近,计算轮廓长度并画出结果程序代码: 1 // OpenCVExerciseTesting.cpp : 定义控制台应用程序...
分类:
移动开发 时间:
2015-05-19 20:38:08
阅读次数:
305
1 // Pkcs7DetachedTest.cpp : 定义控制台应用程序的入口点。 2 // 3 4 #include 5 #include 6 #include 7 #include 8 #include 9 #include 10 #include 11 ...
分类:
其他好文 时间:
2015-05-19 20:37:51
阅读次数:
307
多高斯背景差分,非常吃cpu,特别是多路视屏,所以想用gpu做检测 后面的跟踪一系列的规则判断用cpuopencv+cuda+stl做了个测试代码:// MTTestCudaMog.cpp : Defines the entry point for the console application./...
分类:
其他好文 时间:
2015-05-19 18:26:56
阅读次数:
214
题目:Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in...
分类:
其他好文 时间:
2015-05-19 18:09:23
阅读次数:
109
题目:Write an efficient algorithm that searches for a value in anmxnmatrix. This matrix has the following properties:Integers in each row are sorted fro...
分类:
其他好文 时间:
2015-05-19 18:08:14
阅读次数:
171
最近做的工作里包括了MFC单文档的分割,过程很简单,但还是想记录下来。如下进行了单文档分割为三个视图的操作:1 利用类向导建立额外的两个view 基类是CView2 在mainFirm.cpp中包含两个新加的view的头文件3 在mainFirm.h中添加分割窗口的成员变量CSplitterWnd ...
分类:
编程语言 时间:
2015-05-19 16:15:45
阅读次数:
122
/*
* Copyright (c) 2014, 烟台大学计算机学院
* All rights reserved.
* 文件名称:test.cpp
* 作 者:李晓凯
* 完成日期:2015年 5 月 19 日
* 版 本 号:v1.0
*
* 问题描述:
* 输入描述:
* 程序输出:
*/
题目描述
输入三个字符后,按各字符的ASCII...
分类:
编程语言 时间:
2015-05-19 13:04:27
阅读次数:
267
题目:Given an array withnobjects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the order red,...
分类:
其他好文 时间:
2015-05-19 12:43:50
阅读次数:
132
C++中将string类型转换为int, float, double类型 主要通过以下几种方式:# 方法一: 使用stringstreamstringstream在int或float类型转换为string类型的方法中已经介绍过, 这里也能用作将string类型转换为常用的数值类型。Demo:[cpp...
分类:
编程语言 时间:
2015-05-19 12:23:34
阅读次数:
135