c++: custom cstring class.cpp