purifier said:
Enough of those insults... I'm sorry for bothering you guys... I guess this
forum is filled with all time intellectuals... I already explained that I'm
an Electronics Engineer just beginning to learn C... Now why would I lie
about my profession?
A much better question is why would you want to avoid
using a language feature specifically designed to do
what you asked about (comparing values). It also has
a name which lends to code readability (which is important):
'if'.
Come on...there is no reason to... Ok...if it was one
post insulting me then it's ok but it seems that everyone who posts a reply
just insults in some or the other way... It is a pity that you guys are so
rude to beginners like me... Now, how do you want me to prove that i'm not
asking you to do my homework...?
No need to prove that. But please prove that what you're asking
has any practical use in a C program.
Do you want me to sign a bond or what?
The only reason i came here was thinking that this is an open forum... and
thought i could ask for some help... Now, how do i show you my work if I
didn't even understand the problem...
What you seem to be missing is that their is NO problem.
You want to compare two values, use 'if'.
Anyway, I won't bother you guys
again... You can talk all the hi fi stuff...
OK, bye then.
And Admin Sir, Let me finally congratulate you in having such a wonderful
forum...
This is a public, unmoderated newsgroup. There is no 'admin'.
All the above things were my personal opinions because i was hurt
a lot after posting here
IMO you need to develop a thicker skin.
but your board is definitely helpful for many
experienced programmers to interact...
It's also been proven to be very helpful to beginners.
But it's not a 'gimme some code' or 'gimme the answer'
forum. We *help* people with what *they* are doing,
we don't simply do it *for* them. I (and others) did
give you some useful hints.
If you really want to figure out the answer to the proposed
(imo ridiculous) question, study some C books, and *give it
a try*. Then I'm sure you'll be pleased with the help you
get.
-Mike