Afficher un message
Vieux 22/02/2008, 04h30   #2
Kai-Uwe Bux
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: String assignment operator

InsainFreak101@gmail.com wrote:

> I'm making a program and everything works except for a couple of
> assignment operators for a string object.
>
> here is the snippet of code:
>
> name.assign(theItem.getName);
>
> I've also tried useing the "=" operator, but it doesn't compile.
> If anyone has any suggestions, I would appreciate the


Just guessing, since you did not post much code:

name = theItem.getName();


Best

Kai-Uwe Bux

  Réponse avec citation
 
Page generated in 0,04379 seconds with 9 queries