Originally Posted by kumarangopi
The reason why i pasted complete lines is that in some forums it has been asked like that.Instead of only error lines,if complete program is there it will be easy to understand and my program is not a big one.No intentions that I should waste your time.If so,sorry for that and thanks for your effort.
Its not about wasting the time because I dont waste time here but help people in to get some help.

As I explained why your operation should not take long should be clear to you.