摘要: View Code #include"stdafx.h"#include<fstream>#include<iostream>usingnamespacestd;int_tmain(intargc,_TCHAR*argv[]){//文件写入操作/*ints=0;ofstreamfileout("a.doc");if(!fileout){cout<<"文件打开失败"<<endl;}while(s<=10){fileout<<s<<"+1=" 阅读全文
posted @ 2012-03-19 00:19 lance2008 阅读(157) 评论(0) 推荐(0) 编辑