Al said:
I expect that everyone who replied knows how to do it. However, they
apparently failed in their goal of letting you learn how to do it. Too
bad - Santosh did you a disservice,...
Eh, how do come to that conclusion? Whom did I do a "disservice"? The
OP? Well, if he's intelligent and serious about programming, he'll
study my code, (and other material), and figure it out himself. If he's
not and he uses my code, as such, for his project, then that's his
descision and problem. He'll come a cropper someday or the other.
Either way, I don't consider my post a "disservice". Depending on what
the OP does with it, he'll create his own advantage or "disservice" for
himself.
Following your line of thought, guns should be banned in the US
because, *some* angsty kid decides to test the trigger. Or all source
code should be removed from the internet, because people like the OP
may allegedly use it to further their mis-education. Further, pete will
be heartened to hear that you consider his contributions to the group a
"disservice".
but perhaps you can hire him the next time you need a program written.
No need to insult me just because the OP happened to criticise the
group.