What I want is,
int x=3;
if (x==3 'during past 3 seconds')
{
//perform action
}
this should not disturb other actions of the program for this 3 secs.
Type: Posts; User: silvercats
What I want is,
int x=3;
if (x==3 'during past 3 seconds')
{
//perform action
}
this should not disturb other actions of the program for this 3 secs.
yup. Neither got a working answer.
Here is what I want to achieve.
A class gets a rapidly changing integer from another class. As it changes so fast, I wanted to perform an action only when this number is stabilized. Like if the...
public static void main(String[] args)
{
boolean t=false;
long cuTime = System.currentTimeMillis();
while(t==false)
{
...
I have already converted the first few lines. Just having a hard time understanding and converting this particular area. I can edit it once it is converted as I am not familiar with C++
If I knew, I would have already written the Java code for that. specially I don't know about that vector part.
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/imgproc/imgproc.hpp"
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
using namespace cv;
using namespace std;
int...
When I ran the methods "go1,go2,go3" separately without clicking on the menu , all of them worked well. by separately I mean, when I closed the program changed the source code from "go1;" to "go2"...
When I run the code below with the "thread.sleep", the ball runs from left corner to right corner, leaving a trail behind it as expected.
but when I remove the thread.sleep part, the balls appears...
Let's say this is a software development problem. from which side should we study this as the software developer? feasibility of the developing company or the feasibility of the using company(client)...