Original Post
Hi,
it''s possible to construct a class that can be used like a variable? In a way like the CString MFC class in Windows. Example:
CString str;
str="hello";
Normally i used a member function of the class that assigns the string to an internal variable like this:
str.Assign("hello");
but it can be more useful using the firt version, or not? And it''s possible to do:
str+=" world";
? thank for the tips