Boltar said:
In that case the purpose of this newsgroup is null and void , since by
definition the solution to all C issues is available elsewhere.
Consider this: "Hi folks, I'm stuck. My program works fine on the PC, but
when I try to run it on the IBM, I'm getting strange results. I've
narrowed the problem down to one particular function - just five lines! -
but I can't see what's wrong with it. In any case, it's straight out of a
C book, so it must be right, mustn't it? Also, I've checked the FAQ, but I
couldn't find anything relevant. Here's the function... and here's a
ten-line test driver that reproduces the problem."
Here is someone who has encountered a C problem, and tackled it
intelligently. She has tried to zero in on the problem, and has managed to
identify one small function that isn't working as she expects. There is no
point in her looking in her C book, since the code comes *out* of her C
book! She has checked the FAQ. We suspect she's spent a fair amount of
time trying to puzzle this out for herself. That in itself is a good sign,
as it helps her to develop her independence. But it was all to no avail.
So she has posted her problem to Usenet, along with the smallest possible
program that reproduces her problem. And in fact the chances are good that
several people here would be able to guess fairly accurately at what's
wrong, *even without looking at the code*! And *with* the code, it'd be a
cinch. It wouldn't take more than a minute to answer.
That example was actually fictional. Let me contrast it with a real-world
example of the kind we often get here. This is for real, I assure you. It
was posted on 9 April 2006, and I've marked it off with +++++++s to act as
quote markers:
++++++++++++++++++++++++++++++++++++++
Hey Frnds can anyone help me in this
i need a program in 'c'
PROGRAM to print NxN Matrix
9 1 8 1 2 3
2 7 3 as 4 5 6
6 4 5 7 8 9
in sorted form
please send me as soon as u can very very very urgent....
plz send me
Thanks in Advance...
++++++++++++++++++++++++++++++++++++++
I don't know about you, but I'm not fooled by the "please", or even the
"plz". This person has shown no sign whatsoever of attempting to solve his
or her own problem. If he or she can't be bothered to have a go at it, why
should we?