It would help if you would use the code tags. When entering your formatted code, hi-lite the code block, then press that "code" button you see below under the "Instant UBB Code". Then, when displayed, it's MUCH easier to read.
Second, what exactly do you mean by "it doesn't run"? Does it error out? does it seem to go into an infinite loop? Does it even compile?
The more details you can give on the exact nature of your problem, the easier it is to help.
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
Joined: Apr 27, 2007
I have modified the code, can anyone please help me.