stringstream ss;
ss << "abcdefghijklmn";
fout << ss.str().replace(2,1,1,'x');