Velocity Reviews > PLEASE HELP ME ! PLEASE

PLEASE HELP ME ! PLEASE

Martin Ambuhl
Guest
Posts: n/a

 06-05-2007
Guru Jois wrote:

> a^=b^=a; // could be still better than 3 statements.

No, it is horrid. The OP poster asked about swapping two number [sic].
The '^' operator requires operands of an integer type. And that's not
all that's wrong with it. This question has been beaten to death
before. If you really are committed to the silly XOR trick, check the
FAQ and the newsgroup archives to find out why you shouldn't be. You
might also find out why, even when the silly XOR trick works, writing it
as a single statement is a bad idea.

Richard
Guest
Posts: n/a

 06-05-2007
Martin Ambuhl <(E-Mail Removed)> writes:

> Guru Jois wrote:
>
>> a^=b^=a; // could be still better than 3 statements.

>
> No, it is horrid. The OP poster asked about swapping two number
> [sic]. The '^' operator requires operands of an integer type. And

Don't be so ridiculous. By your rationale then the numbers to be swapped
could be different types and thus unswappable. At times it pays to maybe
consider the context the questions are asked in and give a cautious
reply along the lines of ...

"assuming we are talking about unsigned integers then one way might be ...."

> that's not all that's wrong with it. This question has been beaten to
> death before. If you really are committed to the silly XOR trick,
> check the FAQ and the newsgroup archives to find out why you shouldn't
> be. You might also find out why, even when the silly XOR trick works,
> writing it as a single statement is a bad idea.

Students who come here asking these type of questions are rarely in the
position to slap their lecturers.

Richard
Guest
Posts: n/a

 06-05-2007
"Joachim Schmitz" <(E-Mail Removed)> writes:

> "vubaboota" <(E-Mail Removed)> schrieb im Newsbeitrag
> news:(E-Mail Removed) ps.com...
>>I HAVE SOME SERIOUS PROBLEM , HOW TO MAKE A PROGRAM IN C

> Please don't shout at us. (hint: a sentence in all capitals is considered
> shouteing in usenet)
> Seems you had a serious problem in the classroom, paying attention to your
> teacher.

Is this a new record?

14 posts.

9 of them are discourteous warnings about posting style, homework and
things being off topic.

Joachim Schmitz
Guest
Posts: n/a

 06-05-2007
"Richard" <(E-Mail Removed)> schrieb im Newsbeitrag
news:(E-Mail Removed)...
> "Joachim Schmitz" <(E-Mail Removed)> writes:
>
>> "vubaboota" <(E-Mail Removed)> schrieb im Newsbeitrag
>> news:(E-Mail Removed) ps.com...
>>>I HAVE SOME SERIOUS PROBLEM , HOW TO MAKE A PROGRAM IN C

>> Please don't shout at us. (hint: a sentence in all capitals is considered
>> shouteing in usenet)
>> Seems you had a serious problem in the classroom, paying attention to
>> your
>> teacher.

>
> Is this a new record?
>
> 14 posts.
>
> 9 of them are discourteous warnings about posting style, homework and
> things being off topic.

Where have I been discourteous?
My answer was the first (according to the timestapms I can see), so why are
you apparently atacking me for the # of posts?

Chris Hills
Guest
Posts: n/a

 06-05-2007
In article <(E-Mail Removed)>, Richard <(E-Mail Removed)> writes
>"Joachim Schmitz" <(E-Mail Removed)> writes:
>
>> "vubaboota" <(E-Mail Removed)> schrieb im Newsbeitrag
>> news:(E-Mail Removed) ps.com...
>>>I HAVE SOME SERIOUS PROBLEM , HOW TO MAKE A PROGRAM IN C

>> Please don't shout at us. (hint: a sentence in all capitals is considered
>> shouteing in usenet)
>> Seems you had a serious problem in the classroom, paying attention to your
>> teacher.

>
>Is this a new record?

No

>14 posts.
>9 of them are discourteous warnings about posting style, homework and
>things being off topic.

What has happened is we are getting far more posts of the "PLS DO MY
HOMEWORK URGENT" type.

These are clearly from people that use this NG as a start point without
reading any other posts here or doing an online search first.

Their lack of effort is therefore rewarded in kind.

--
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\/\/\/\/\ Chris Hills Staffs England /\/\/\/\/
/\/\/ http://www.velocityreviews.com/forums/(E-Mail Removed) www.phaedsys.org \/\/\
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/

Chris Hills
Guest
Posts: n/a

 06-05-2007
In article <(E-Mail Removed)>, Martin Ambuhl
<(E-Mail Removed)> writes
>Umesh wrote:
>> //swapping
>> #include"stdio.h"

> ^^^^^^^^^
>Unless you have your own private version of stdio.h, you should use the
>standard header <stdio.h>.

The whole point of this code is that if the student uses it without
understanding it they will get spotted as a CHEAT

>To the original poster: If you turn in "Umesh"'s code, you will get
>the grade you deserve. You will not like it.

Correct..... If they want to cheat they have to take the consequences.
--
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\/\/\/\/\ Chris Hills Staffs England /\/\/\/\/
/\/\/ (E-Mail Removed) www.phaedsys.org \/\/\
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/

Richard
Guest
Posts: n/a

 06-05-2007
Chris Hills <(E-Mail Removed)> writes:

> In article <(E-Mail Removed)>, Richard <(E-Mail Removed)> writes
>>"Joachim Schmitz" <(E-Mail Removed)> writes:
>>
>>> "vubaboota" <(E-Mail Removed)> schrieb im Newsbeitrag
>>> news:(E-Mail Removed) ps.com...
>>>>I HAVE SOME SERIOUS PROBLEM , HOW TO MAKE A PROGRAM IN C
>>> Please don't shout at us. (hint: a sentence in all capitals is considered
>>> shouteing in usenet)
>>> Seems you had a serious problem in the classroom, paying attention to your
>>> teacher.

>>
>>Is this a new record?

>
> No
>
>>14 posts.
>>9 of them are discourteous warnings about posting style, homework and
>>things being off topic.

>
> What has happened is we are getting far more posts of the "PLS DO MY
> HOMEWORK URGENT" type.

The why dont "we" agree that only ONE reply is enough. Why is there the
constant feeding frenzy. Leave it alone to see if someone else replies
or ignore it.

>
> These are clearly from people that use this NG as a start point
> without reading any other posts here or doing an online search
> first.
>
> Their lack of effort is therefore rewarded in kind.

--

Richard
Guest
Posts: n/a

 06-05-2007
"Joachim Schmitz" <(E-Mail Removed)> writes:

> "Richard" <(E-Mail Removed)> schrieb im Newsbeitrag
> news:(E-Mail Removed)...
>> "Joachim Schmitz" <(E-Mail Removed)> writes:
>>
>>> "vubaboota" <(E-Mail Removed)> schrieb im Newsbeitrag
>>> news:(E-Mail Removed) ps.com...
>>>>I HAVE SOME SERIOUS PROBLEM , HOW TO MAKE A PROGRAM IN C
>>> Please don't shout at us. (hint: a sentence in all capitals is considered
>>> shouteing in usenet)
>>> Seems you had a serious problem in the classroom, paying attention to
>>> your
>>> teacher.

>>
>> Is this a new record?
>>
>> 14 posts.
>>
>> 9 of them are discourteous warnings about posting style, homework and
>> things being off topic.

> Where have I been discourteous?
> My answer was the first (according to the timestapms I can see), so why are
> you apparently atacking me for the # of posts?

Where did I attack you?

And personally, I think (and I quote)

"Seems you had a serious problem in the classroom, paying attention to
your teacher."

Is pretty discourteous.

banansol@hushmail.com
Guest
Posts: n/a

 06-05-2007
On Jun 5, 12:04 pm, Richard <(E-Mail Removed)> wrote:
> "Joachim Schmitz" <(E-Mail Removed)> writes:
> > "vubaboota" <(E-Mail Removed)> schrieb im Newsbeitrag
> >news:(E-Mail Removed) ups.com...
> >>I HAVE SOME SERIOUS PROBLEM , HOW TO MAKE A PROGRAM IN C

> > Please don't shout at us. (hint: a sentence in all capitals is considered
> > shouteing in usenet)
> > Seems you had a serious problem in the classroom, paying attention to your
> > teacher.

>
> Is this a new record?
>
> 14 posts.
>
> 9 of them are discourteous warnings about posting style, homework and
> things being off topic.

Oh please give it a break, Richard. While others on this NG
help out giving topical answers and telling people when they
are offtopic, you only seem to spewing out complaints about
answers all the time. Why don't you just do like others and
help people with C, that's what this group is for, like you say.
Much more helpful.

You have been told this before. And I'll just killfile you
if you continue, just wanted to say this before that.

Richard
Guest
Posts: n/a

 06-05-2007
(E-Mail Removed) writes:

> On Jun 5, 12:04 pm, Richard <(E-Mail Removed)> wrote:
>> "Joachim Schmitz" <(E-Mail Removed)> writes:
>> > "vubaboota" <(E-Mail Removed)> schrieb im Newsbeitrag
>> >news:(E-Mail Removed) ups.com...
>> >>I HAVE SOME SERIOUS PROBLEM , HOW TO MAKE A PROGRAM IN C
>> > Please don't shout at us. (hint: a sentence in all capitals is considered
>> > shouteing in usenet)
>> > Seems you had a serious problem in the classroom, paying attention to your
>> > teacher.

>>
>> Is this a new record?
>>
>> 14 posts.
>>
>> 9 of them are discourteous warnings about posting style, homework and
>> things being off topic.

>
>
> Oh please give it a break, Richard. While others on this NG
> help out giving topical answers and telling people when they
> are offtopic, you only seem to spewing out complaints about
> answers all the time. Why don't you just do like others and
> help people with C, that's what this group is for, like you say.
> Much more helpful.

I frequently do and have done so.

But the pollution level in this NG is second to none. There has
developed a policy of elitist competition between show offs and
wannabees. I find it faintly embarrassing as well as highly
distasteful. And it is getting worse.

There is a big difference between being a savager of nOObs and someone
who pleas for a bit of sanity.

Killfile me for all I care. I really don't mind.

I would also suggest you add posters whose net nanny to help ratio is
more than 1:1.

 Thread Tools

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is OffTrackbacks are On Pingbacks are On Refbacks are Off Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post The Martian Digital Photography 14 06-20-2008 07:56 AM casioculture@gmail.com Java 4 05-05-2005 08:24 AM Nick Computer Support 0 06-04-2004 08:49 PM tpg comcntr Computer Support 11 02-15-2004 06:22 PM KK C++ 2 10-14-2003 02:08 PM

Advertisments