Skip to main content
added 77 characters in body
Source Link
Lesto
  • 791
  • 3
  • 10

I would bet the problem relies on

if (counter>first)

As seems like you never reset counter, there might be weird things going on

I would bet the problem relies on

if (counter>first)

I would bet the problem relies on

if (counter>first)

As seems like you never reset counter, there might be weird things going on

Removed comment about original post which is no longer valid (post has been edited).
Source Link
Peter Bloomfield
  • 11k
  • 9
  • 48
  • 87

Actually your code is unreadable, please learn how to indent it.

But I would bet the problem relies on

if (counter>first)

Actually your code is unreadable, please learn how to indent it.

But I would bet the problem relies on

if (counter>first)

I would bet the problem relies on

if (counter>first)
Source Link
Lesto
  • 791
  • 3
  • 10

Actually your code is unreadable, please learn how to indent it.

But I would bet the problem relies on

if (counter>first)