View Single Post
Old 02-13-2005, 05:38 PM   #6 (permalink)
wishknew
Wisnu Widiarta
 
wishknew's Avatar
 
Join Date: Feb 2005
Location: Indonesia
Posts: 14
wishknew is on a distinguished road
Send a message via Yahoo to wishknew
Thanx

Ok, Valmont thanx!

I have changed the string* into string, so I can avoid the new operator. But I didn't see the use of private variable nCount_ in your recommendation code. I prefer use the size of vector size instead of maintaining the vector count. And I think your trim function will erase all of spaces in a string which not something I want, since my trim is intended to leftTrim and rightTrim at the same time.

Thanks again for inline functions in header file and the use of reference in trim.

Best regards,

Wisnu Widiarta
wishknew is offline   Reply With Quote