The first thing that is wrong is that you assume by default that
it is a homework question. Then you go on to say that if the OP
establishes his bona fides to your satisfaction then you will
actually answer his question.
If the question was not a homework question, the original poster
might very well think "Who is this clown and why is he putting me
through an inquisition." Moreover, if you believe that it is
cheating to go online and ask for help, then your response says
in effect that, you suspect him of being a cheat and that you
will treat him as a cheat until he clears his name with you.
If the OP thinks I'm a clown, he's free to say so. Isn't it a bit
patronizing to be offended on his behalf?
In any case, if you're re-read what I actually wrote, I did not
accuse him of cheating. Asking for help with homework is not
generally cheating (unless the assignment specifically say so, but
that's not my concern). Looking back, I see that I opened with
"We get a lot of people here asking for us to do their homework
for them"; I can see how that might sound like an accusation,
but it certainly wasn't meant as one.
On the other hand, I was unwilling to discount the possibility that
the OP *was* trying to cheat on his homework. I mean no offense;
there just wasn't enough information to be sure.
If I were asked this question by a co-worker, or by someone else
whose primary goal was to get something done rather than to learn
the lagnuage, I'd probably just provide a snippet of working code
(though I might just mention the "#" operator if I didn't have
enough time). If I were asked this question in the context of help
with homework, I'd be more vague, as I was in my initial response.
Without knowing the context of this question, I chose to be cautious.
The besides of which it may well have not have been a homework
question - many people either never knew about that little gadget
or have forgotten about it.
The unfortunate thing is that you did the right thing by pointing
to the # gismo in the preprocessor. If you had just done that
and only that it would have been an excellent response. As it
was, your response was patronizing and a slur.
So you don't object to my providing a reference to the "#" operator
without a full explanation.
You object to the fact that, in an attempt to be polite, I *explained*
to the OP why I wasn't providing the complete answer.
I'm sure that's not what you had in mind, but I think your objection
is based on a misunderstanding of what I actually wrote and meant.