string temptarget = “ 01110110001100100110010101111000 “;
void Target()
{
ofstream fout;
fout.open("Target.txt", ios::out | ios::binary);
fout.write(temptarget.data(), temptarget.size());
fout.close();
}
打开 Target.txt 后仍是 01110110001100100110010101111000, 要怎么才可以在文本编辑器显示 v2ex