ofstream outfile; outfile.open("file.dat", ios::out | ios::trunc ); ... 上面的实例中使用了cin 对象的附加函数,比如getline()函数从外部读取一行,ignore() 函数 ...
確定! 回上一頁