That sounds nasty!
You're welcome, though. :)
Type: Posts; User: oogabooga
That sounds nasty!
You're welcome, though. :)
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)
...