![]() ![]() |
![]() |
version 1.55, 2002/08/29 16:54:38 | version 1.56, 2002/08/30 00:51:59 | ||
---|---|---|---|
|
| ||
delete [] _rep; | delete [] _rep; | ||
} | } | ||
CString& CString::operator=(const CString& cstr) | |||
{ | |||
_rep = new char[strlen(cstr._rep)+1]; | |||
_rep = strcpy(_rep, cstr._rep); | |||
return *this; | |||
} | |||
CString::operator const char*() const | CString::operator const char*() const | ||
{ | { | ||
return _rep; | return _rep; |
|
No CVS admin address has been configured |
Powered by ViewCVS 0.9.2 |