摘要: #includeusingnamespacestd;#defineM100#defineN50intmain(){ FILE*fp; char*p,ch,temp[N]={'\0'},str[M][N]={'\0'},g[N];inti=0,j=0,a[M]={0},b[M]={0},v; cout>g; if((fp=fopen(g,"r"))==NULL) { printf("无法打开此文件\n"); exit(0); }//读取文件并把所有单词存储在str[M][N]中。 while(!feof(fp)) { 阅读全文
posted @ 2014-03-02 20:35 超369 阅读(660) 评论(1) 推荐(0) 编辑