Hi!
I think the problem lies in statement:
return cherryCnt++;
.
cherryCnt never gets incremented. It will always be 0. If you want to increment it, you must say
Type: Posts; User: alexdan
Hi!
I think the problem lies in statement:
return cherryCnt++;
.
cherryCnt never gets incremented. It will always be 0. If you want to increment it, you must say