Sorry, I missed the question at the end, here is the answer. there are several assignment operators for TString class, one of them TString& TString::operator=(const char* cs) does what you need - you just write: TString s; s = "aaaaaa"; Regards, Pasha.
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:33 MET