Looping Problem

This is a discussion on Looping Problem within the Windows Programming forums, part of the Platform Specific Boards category; Hi EveryOne, I am working on an application where i have to capture an image form webcam and display on ...

  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,831
    >>> 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, 04:36 PM
  2. looping problem
    By chris285 in forum C++ Programming
    Replies: 4
    Last Post: 04-22-2005, 12:03 PM
  3. half ADT (nested struct) problem...
    By CyC|OpS in forum C Programming
    Replies: 1
    Last Post: 10-26-2002, 09:37 AM
  4. binary tree problem - help needed
    By sanju in forum C Programming
    Replies: 4
    Last Post: 10-16-2002, 06:18 AM
  5. Looping problem
    By sketchit in forum C Programming
    Replies: 2
    Last Post: 10-01-2001, 03:19 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21