Thread: Looping Problem

  1. #1
    Registered User
    Join Date
    Oct 2001
    Posts
    68

    Looping Problem

    Hi EveryOne,

    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
    Thanks
    Pratik

  2. #2
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,829
    >>> Is there any way the i can stop these loop.

    Yes.

    >>> 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.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Words and lines count problem
    By emo in forum C Programming
    Replies: 1
    Last Post: 07-12-2005, 03:36 PM
  2. looping problem
    By chris285 in forum C++ Programming
    Replies: 4
    Last Post: 04-22-2005, 11:03 AM
  3. half ADT (nested struct) problem...
    By CyC|OpS in forum C Programming
    Replies: 1
    Last Post: 10-26-2002, 08:37 AM
  4. binary tree problem - help needed
    By sanju in forum C Programming
    Replies: 4
    Last Post: 10-16-2002, 05:18 AM
  5. Looping problem
    By sketchit in forum C Programming
    Replies: 2
    Last Post: 10-01-2001, 02:19 PM