I have a doubt also.
can you read english?
in your numerous posts, you have been repeatedly asked to post a compilable program,
so we can see 'exactly' what you are doing, and can
test possible solutions.
just posting snippets creates a '20 guesses' scenario, which most won't play.
so, if you really want a solution, read the link (provided 20 or so times in the past),
and post a small program that we can copy/paste/compile/run and see the problem for ourselves
(my crystal ball says it's gunna be 2000 lines)