- 145 名前:デフォルトの名無しさん [2008/02/10(日) 15:39:16 ]
- 続き
char buf[256]; int cnt = 0; if((fp = fopen("word.dat","r")) == NULL){ printf("入力ファイルがオープンできません\n"); exit(1); } while( (46) != NULL) (47) ; fclose(fp); return(cnt); } /*変換*/ int w_cnv(int ln) { int i; int cnt = 0; char w_str[256]; for(i=0;i<ln;i++){ while( (48) != NULL){ strcpy(w_str,strstr(str[i],"な") + CHRSIZE * 2); strcpy(strstr(str[i],"な"),"にゃ"); (49) ; cnt++; } strcpy( (50) ,"にゃ\n"); } return(cnt); }
|

|