i herewith attached a program written myself on line following
If You wrote it Yourself, why in subject do You ask:
is it a line following code?
If You wrote it - You should know better.
Another thing - Your code is a mess. If You want someone to have a look at it, make it neat and clean, then post it using [code]your code[/code]
and not as an attachment; people will not be bothered to download it.
Don't hope someone else to debug whole code for You. We do not have system setup You have, neither enough time, hence it is not feasible. Do some work Yourself and if still not successfull, ask specific questions and not: "can someone please have a look at my code and tell me what is wrong with it?
".You have to clearly explain what You expect from specific function and what You get, only then we will be able to help.