use c++ replace of c
use c++ replace of c