Give us more information, meanwhile:
int iCounter = 0;
iCounter++;
iCounter++;
...
I guess you are not interested in this answer, but is the best I can imagine from your question.
Rewrite your question, add more details and then probably you'll get a proper answer...