全文预览

c语言复习资料2

上传者:业精于勤 |  格式:pdf  |  页数:101 |  大小:5831KB

文档介绍
archfor(p);\rP++\r)\rchcl(s);\r}\rfclose(fin);\rprintf("%d%d%d\n",nif/nwhile/nfor);\rreturn0;EvaluationWarning:ThedocumentwascreatedwithSpire.PDFfor.NET.\rÁV&¢b\rTimeLimit:3000ms,MemoryLimit:10000KB,Accepted:29,TotalSubmissions:54\rDescription\rDATA5612.CPP!"#$%&'()*DATA5612.TXT+,\rInput\r-./*01?()DATA5612.CPP234(5672#89:;<=>+,\r?@0ABC?@DATA5612.CPP,\rOutput\rDEFGHI2JKLM.OPG67EFQ\r#include<stdio.h>\rintmainO\r(\rcharsl[100],s2[110];\rintcnt=0;\rFILE*in,*out;\rin=fopen(zzDATA5612.CPPR2R/);\rif(in!=NULL){\routfopen("DATA5612.TXT”,òwò);\rwhile(!feof(in)){\rif(fgets(si,sizeof(sl)-l,in)==NULL)continue;\rsprintf(s2,zz%04d%sR2++cnt,si);\rfputs(s2,out);\r)\rfclose(out);\rfclose(in);\r)\rreturn0;\r}EvaluationWarning:ThedocumentwascreatedwithSpire.PDFfor.NET.\rùú:

收藏

分享

举报
下载此文档