Afficher un message
Vieux 30/06/2008, 07h04   #13
Marcus
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: strcmp, please me understand this

On Jun 29, 8:58pm, CD1 <cristiandei...@gmail.com> wrote:
> > #include <string>
> > #include <iostream>

>
> > int main()
> > {
> > std::string foo("ABC");
> > std::string f002("ABC");

>
> > if(foo == foo2)
> > std::cout << "match\n";
> > else
> > std::cout << "no match\n";

>
> > return 0;

>
> > }

>
> This code won't compile. There is no variable called "foo2".
>
> - Hide quoted text -
>
> - Show quoted text -


haha.... i wasn't going to say anything, but that made me laugh... yea
mike, i simply can't understand what you're trying to say here at
all!

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?

regards,
marcus
  Réponse avec citation
 
Page generated in 0,04749 seconds with 9 queries