作者chrisdar (克里斯)
看板C_and_CPP
标题[问题] filestrame 的问题 ios::out/ios::in 要不要补
时间Fri Apr 10 17:49:42 2009
ofstream ofs(name.c_str(), ios::out | ios::binary);
ofstream ofs(name.c_str(), ios::binary);
以上两条叙述 是不是等价(相同)的 因为测试起来一样 谢谢各位
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 123.195.88.23
1F:推 gundan:ofstream 就是out用的 这时候後面多加个out 是没差 04/11 13:37