Find out that I should also specify that the ofstream is in binary mode by ofstream::binary . Done! By the way what's the difference between ifstream::binary & ...
確定! 回上一頁