A string builder written by C++