rewrite TTString with c-strings
update c++ test project