Search:

Type: Posts; User: oogabooga

Search: Search took 0.03 seconds.

  1. Replies
    9
    Views
    1,094

    That sounds nasty! You're welcome, though. :)

    That sounds nasty!
    You're welcome, though. :)
  2. Replies
    9
    Views
    1,094

    Why bother with an array? It seems that a simple...

    Why bother with an array? It seems that a simple count of consecutive 0's is enough:


    int cnt = 0;

    // inside your loop
    if (status == 0) {
    if (++cnt >= 30)
    ...
Results 1 to 2 of 2