In article <b4**********************************@u36g2000prf. googlegroups.com>,
Marcus <mc*******@walla.comwrote:
>you guys are funny. i thought this was comp.lang.c++... not
comp.we.can.only.comment.on things.that.can.be.compiled.c++
back in the day in this group, the jibe replies would've looked like:
"char*'s WILL strcmp, assuming you didn't mean those errors above,
your error is somewhere else."
times change i guess. thanks though joe, appreciate you taking the
time to actually compile that. the error must be somewhere else.
Why do newbies insist on being childish? Peoples up here are willing
to help. However, they can only help with the material they have.
But no, so often, newbies when they don't get it all cooked,
pre-chewed and spoonfed directly in their mouth, fell the need to
throw a tantrum.
Look, you came here and asked for help. However, you didn't ask a
clear question ("It doesn't work"). Why are _you_ unwilling to make an
effort yourself so that others can help _you_ solve _your_ problem?
Essentially, all that can be answered from your post:
1- strcmp works.
2- There must be an error somewhere in your code.
3- The sample you have posted is not complete and would not
compile if inserted in a real program.
The above is really not that useful to you: i.e. strcmp works. That
should be a given. But you've have made a mistake. If you post a
complete but minimal self contained example that actually compile,
then peoples can look and identify where you made the mistake. If you
don't do that, all that can be said is: "You made a mistake somewhere."
Yannick