rewrite in c++