std::ofstream fout("a.dat", std::ios::binary);. int nnum = 20;. std::string str("hello, world");. fout.write((char*)&nnum ...
確定! 回上一頁