Click here to Skip to main content
15,878,722 members

Comments by boyhailong (Top 6 by date)

boyhailong 1-Jun-11 5:12am View    
Deleted
what the function of the StringCompare
boyhailong 11-May-11 2:18am View    
what you said is beneficial ,thanks!
boyhailong 10-May-11 8:40am View    
i know , i just write the whole class in a file
boyhailong 10-May-11 8:28am View    
ok, sorry, i forge it 。
error C2440: “return”: can't transfer “const String”to “String &”
boyhailong 10-May-11 8:20am View    
one is :
String & String::operator=(const String & st)
{
if (this == &st)
return st;
delete [] str;
len = st.len;
return st;
}
error C2440: “return”: 无法从“const String”转换为“String &”