C++ ofstream outfile; outfile.open ("tel.txt",ios::out|ios::ofstream outfile;outfile.open ("tel.txt",ios::out|ios::
来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/24 21:41:45
C++ofstreamoutfile;outfile.open("tel.txt",ios::out|ios::ofstreamoutfile;outfile.open("tel.txt",ios::
C++ ofstream outfile; outfile.open ("tel.txt",ios::out|ios::ofstream outfile;outfile.open ("tel.txt",ios::out|ios::
C++ ofstream outfile; outfile.open ("tel.txt",ios::out|ios::
ofstream outfile;
outfile.open ("tel.txt",ios::out|ios::
C++ ofstream outfile; outfile.open ("tel.txt",ios::out|ios::ofstream outfile;outfile.open ("tel.txt",ios::out|ios::
ios::app
:
以追加的方式打开文件
ios::out
:
文件以输出方式打开(内存数据输出到文件)
参照http://wenku.baidu.com/view/40ba6e2ced630b1c59eeb556.html 可以自己去看下