Afficher un message
Vieux 30/06/2008, 17h41   #20
Lionel B
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: strcmp, please me understand this

On Mon, 30 Jun 2008 07:51:51 -0700, Marcus wrote:

> On Jun 30, 3:38Âam, Eberhard Schefold <eberhard.schef...@de.bosch.com>
> wrote:
>> Marcus wrote:
>> > thanks for the guys, seriously. i'm just trying to point out,
>> > that communication is a lot easier when the listener tries to
>> > understand the meaning behind things, rather than dismissing the
>> > entirety if an i wasn't dotted or a t wasn't crossed. i think yall
>> > get what i'm saying... or did i miss an apostophe somewhere?

>>
>> These guys were trying to you, and they can't if you don't tell
>> them what the problem is. The misunderstanding is on your own part if
>> you regard this as nitpicking. They were asking what the problem is,
>> since your initial code obviously was not apt to demonstrate the
>> problem.


[...]

> I was clear. I asked what I wasn't understanding about how strcmp works,
> specifically with char*'s. I gave an example using foo, but flubbed a
> quote and print instead of printf. No one until AFTER I quipped that
> those were nitpicky errors tried to actually answer my question.


As I see it, it turned out that -- modulo your nitpicky errors -- the
problem *wasn't* in the code fragment you showed us. If you had made the
basic effort to construct a complete, minimal, compilable, program as per
the FAQ for this ng:

http://www.parashift.com/c++-faq-lit...t.html#faq-5.8

then you would have immediately spotted this for yourself and wouldn't
have had to post here at all!

--
Lionel B
  Réponse avec citation
 
Page generated in 0,06976 seconds with 9 queries