有没有c++大神,帮我讲解一下c++dsp28335程序代码讲解

求大神帮忙编译一下几段C++源代码_百度知道
求大神帮忙编译一下几段C++源代码
是c++builder写的,生成可执行文件或者安装文件,传送门:
我有更好的答案
金山毒霸说是木马,还没下载就给删除了
晕死,就一个压缩包,里面全是源代码,都没可执行文件,怎么木马啊
好吧,还是谢谢你,说明我电脑已经中毒了。
为您推荐:
其他类似问题
您可能关注的内容
源代码的相关知识
换一换
回答问题,赢新手礼包
个人、企业类
违法有害信息,请在下方选择后提交
色情、暴力
我们会通过消息、邮箱等方式尽快将举报结果通知您。哪位大神帮忙看一下这段C++代码有什么错误?和《C++primer》上一样,在GCC下就是不能运行_百度知道
哪位大神帮忙看一下这段C++代码有什么错误?和《C++primer》上一样,在GCC下就是不能运行
#include &iostream&
#include &string&
#include &vector&
int main()
vector&string&
cout && &Please enter some strings (Ctrl-Z to end):& &&
while(cin && str)
我有更好的答案
目测无误. VC2010实测也无误.
附加一下GCC的编译错误信息哦.
错误太长,你把你的qq给我,我加你,然后把问题发给你
QQ 错误太长就把前面部分发上来看看吧.
采纳率:66%
分别在 GCC 4.7 和 GCC 4.8 下,测试正常,没有出现你说的不能运行。
为您推荐:
其他类似问题
gcc的相关知识
换一换
回答问题,赢新手礼包
个人、企业类
违法有害信息,请在下方选择后提交
色情、暴力
我们会通过消息、邮箱等方式尽快将举报结果通知您。有哪位大神可以帮小弟我解释一下这段代码吗 - C++当前位置:& &&&有哪位大神可以帮小弟我解释一下这段代码吗有哪位大神可以帮小弟我解释一下这段代码吗www.MyException.Cn&&网友分享于:&&浏览:41次有哪位大神可以帮我解释一下这段代码吗?//============================================================================
//&Name&&&&&&&&:&KinectTouch.cpp
//&Author&&&&&&:&github.com/robbeofficial
//&Version&&&&&:&0.something
//&Description&:&recognizes&touch&points&on&arbitrary&surfaces&using&kinect
&and&maps&them&to&TUIO&cursors
&(turns&any&surface&into&a&touchpad)
//============================================================================
&*&1.&point&your&kinect&from&a&higher&place&down&to&your&table
&*&2.&start&the&program&(keep&your&hands&off&the&table&for&the&beginning)
&*&3.&use&your&table&as&a&giant&touchpad
#include&&iostream&
#include&&vector&
#include&&map&
using&namespace&
#include&&opencv/highgui.h&
#include&&opencv/cv.h&
using&namespace&
#include&&XnOpenNI.h&
#include&&XnCppWrapper.h&
using&namespace&
#define&CHECK_RC(rc,&what)
if&(rc&!=&XN_STATUS_OK)
printf("%s&failed:&%s\n",&what,&xnGetStatusString(rc));
#include&"TUIO/TuioServer.h"
using&namespace&TUIO;
//&TODO&smoothing&using&kalman&filter
//---------------------------------------------------------------------------
//&Globals
//---------------------------------------------------------------------------
xn::Context&xnC
xn::DepthGenerator&xnDepthG
xn::ImageGenerator&xnImgeG
bool&mousePressed&=&
//---------------------------------------------------------------------------
//&Functions
//---------------------------------------------------------------------------
int&initOpenNI(const&XnChar*&fname)&{
XnStatus&nRetVal&=&XN_STATUS_OK;
//&initialize&context
nRetVal&=&xnContext.InitFromXmlFile(fname);
CHECK_RC(nRetVal,&"InitFromXmlFile");
//&initialize&depth&generator
nRetVal&=&xnContext.FindExistingNode(XN_NODE_TYPE_DEPTH,&xnDepthGenerator);
CHECK_RC(nRetVal,&"FindExistingNode(XN_NODE_TYPE_DEPTH)");
//&initialize&image&generator
nRetVal&=&xnContext.FindExistingNode(XN_NODE_TYPE_IMAGE,&xnImgeGenertor);
CHECK_RC(nRetVal,&"FindExistingNode(XN_NODE_TYPE_IMAGE)");
void&average(vector&Mat1s&&&frames,&Mat1s&&mean)&{
Mat1d&acc(mean.size());
Mat1d&frame(mean.size());
for&(unsigned&int&i=0;&i&frames.size();&i++)&{
frames[i].convertTo(frame,&CV_64FC1);
acc&=&acc&+&
acc&=&acc&/&frames.size();
acc.convertTo(mean,&CV_16SC1);
int&main()&{
const&unsigned&int&nBackgroundTrain&=&30;
const&unsigned&short&touchDepthMin&=&10;
const&unsigned&short&touchDepthMax&=&20;
const&unsigned&int&touchMinArea&=&50;
const&bool&localClientMode&=&&
//&connect&to&a&local&client
const&double&debugFrameMaxDepth&=&4000;&//&maximal&distance&(in&millimeters)&for&8&bit&debug&depth&frame&quantization
const&char*&windowName&=&"Debug";
const&Scalar&debugColor0(0,0,128);
const&Scalar&debugColor1(255,0,0);
const&Scalar&debugColor2(255,255,255);
int&xMin&=&110;
int&xMax&=&560;
int&yMin&=&120;
int&yMax&=&320;
Mat1s&depth(480,&640);&//&16&bit&depth&(in&millimeters)&&&&&&&&//&&&&&&typedef&Mat_&short&&Mat1s;
Mat1b&depth8(480,&640);&//&8&bit&depth
&&&//&&&&&&typedef&Mat_&uchar&&Mat1b;
//Mat3b&rgb(480,&640);&//&8&bit&depth
&&&// &&&typedef&Mat_&Vec3b&&Mat3b;
Mat3b&debug(480,&640);&//&debug&visualization
Mat1s&foreground(640,&480);
Mat1b&foreground8(640,&480);
Mat1b&touch(640,&480);&//&touch&mask
Mat1s&background(480,&640);
vector&Mat1s&&buffer(nBackgroundTrain);
initOpenNI("niConfig.xml");
////&TUIO&server&object
//TuioServer*&
//if&(localClientMode)&{
// tuio&=&new&TuioServer(); 共&4&页:
12345678910
12345678910
12345678910 上一篇:下一篇:文章评论相关解决方案 12345678910 Copyright & &&版权所有求熟悉c++的大神帮我调试一下程序有高分送上_百度知道
求熟悉c++的大神帮我调试一下程序有高分送上
1. 简单工资管理系统设计 (85分)
设计某单位职工工资管理系统,功能如下:
对于每位职工存储以下信息:职工编号、基本工资、津贴、岗位津贴、应发数、个人所得税、应扣数、实发数。个人所得税计算方法设为:工资少于2000元的部分为0,元部分为5%,...
我有更好的答案
去年实训做的 可以直接用
怎么不能输入工资
自己改改吧
很久之前的了
忘了很多了
采纳率:31%
不是说调试吗??你的代码呢?
为您推荐:
其他类似问题
换一换
回答问题,赢新手礼包
个人、企业类
违法有害信息,请在下方选择后提交
色情、暴力
我们会通过消息、邮箱等方式尽快将举报结果通知您。}

我要回帖

更多关于 kcf跟踪算法代码讲解 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信