Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
73% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
0 Endorsements
Ranked #3K
~8K People Reached
Favorite Forums
Favorite Tags
Member Avatar for stonerain

I am trying to use 2 USB webcams with OpenCV. I can get a visual with one webcam but I haven't done with two webcams. Can anybody help me? I use this code for a webcam. [CODE]void WebCam() { char Vid[] = "WebCam"; IplImage * frm; CvCapture * capture; capture …

Member Avatar for Raimucka
0
2K
Member Avatar for stonerain

I am trying to use the CalcOpticalFlowBM function but I don't understand hot it works. I want to find a motion vector for every blocks but I don't understand that the CalcOpticalFlowBM yields velX and velY. I wrote below code . [CODE]/* Create an object that decodes the input video …

Member Avatar for bart.scotty
1
690
Member Avatar for Fenlevi

Hi guys,I was interesting,how to write a function,to determine the nearest square number that is equal or greater to the length of the string( for example 16 is the next square number after 13) I don't even know what is the mechanism of this function:-/

Member Avatar for Robert1995
0
95
Member Avatar for aay

I know this has been asked before, but none of the threads I found helped me much. I am a beginner at C++ programming and need help figuring out why this doesn't work. [B]Question[/B]: e^x can be approximated by sum 1 + x + x^2/2! + x^3/3 + ... + …

Member Avatar for WaltP
0
3K
Member Avatar for TimCereja

This displayBits function works fine in this code in displaying the bits of the input integer. I put the same thing into function reverseBits and have been trying different things to get it to reverse the order, but can't seem to get it right. I think it's a minor modification …

Member Avatar for TimCereja
0
551
Member Avatar for PoRco1x

I looked around and I didn't quite find what I was looking for. I know that to initialize an array of objects, we have to go something like this : Object *array[10]; But my question is : Why exactly can't we just go like this.. Object array[10];

Member Avatar for necrolin
0
140
Member Avatar for Darth Vader

I wonder for something. If it is possible to replace for example * with any kind of variable that holds either: + - * / Something like: [code] Variable = *; double Number1 = 5; double Number2 = 10; double NewNumber = 0; NewNumber = Number1 [B]Variable[/B] Number2; [/code]

Member Avatar for Darth Vader
0
160
Member Avatar for stonerain

[CODE]int C[10][20]; int * mmatrix (int A[ 10 ][ 5 ], int B[ 5 ][ 20 ]) { int i, j, k; for(i = 0; i < 10; ++i) for(j = 0; j < 20; ++j) { for(k = 0; k < 5; ++k) C[ i ][ j ] += …

Member Avatar for Salem
0
1K
Member Avatar for stonerain

Hello Everyone; I made a USB to RS232 converter but I need to do something else. The device is shown under device management in My Computer but I have to show "a new device found" baloon when every connection to my computer like a flash disk connected. How can I …

Member Avatar for Salem
0
103
Member Avatar for mini programmer

Hi to all I have a project, and I found 2 the errors in derived class, says the first: 'BaseClass' : base class undefined the number of error is :Error C2504: and I include the file: #include "BaseClass.h" and make declare base class with extern. but still the error. ......................... …

Member Avatar for mini programmer
0
126
Member Avatar for nitrooreo

Hello. This is my first problem post on Daniweb so feel free to overload me with info even outside the scope of this overloading problem. I have a class Point where I have overloaded the + operator and I'm trying to overload "operator=" so that I can right something like: …

Member Avatar for nitrooreo
0
285
Member Avatar for mrnutty

how would I check how long a program takes for it to be completed. (i.e the time it takes for the program to be finished doing its calculation)) Thanks

Member Avatar for stonerain
0
106
Member Avatar for afg_91320

i cant seem to find what is wrong with this piece of code: looks good to me-but my hw says it has an error in the code. [code] struct TwoVals { int a = 5; int b = 10; }; int main() { TwoVals varray[1]; varray.a[0] =1; return0; } [/code]

Member Avatar for Narue
0
167
Member Avatar for thenic

ok i just startet coding c++ and ofc im geting alot of errors. but until now ive been able to fix them myself but when i try to debug my program it says misplaced else and i just cant find out how to get it to work. so well heres …

Member Avatar for thenic
0
98