ofstream outfile; outfile.open("file.dat", ios::out | ios::trunc ); ... namespace std; int main () { char data[100]; // 以写模式打开文件 ofstream outfile; ...
確定! 回上一頁