I am working on an application where i have to capture an image form webcam and display on the the window. But the problem is that it goes into infinite loop. Is there any way the i can stop these loop. A function that i can you to check if loop occurs, somthing like ASSERT(); .....
Please let me know
>>> Is there any way the i can stop these loop.
>>> somthing like ASSERT();
Possibly , it depends on what is causing your program to loop.
Use the debugger to find out where you are looping, and then try to find out where you have gone wrong. I'm afraid you are not giving us enough information to even begin to help you further.