スレ立てるまでもない質問はここで 88匹目
■ このスレッドは過去ログ倉庫に格納されています
0024デフォルトの名無しさん
2008/01/12(土) 14:22:37wf = fopen...よりも後に記述するとエラーとなってしまうのですが、
そういう仕様なのでしょうか?コンパイラはBorland C++5.5です。
#include <stdio.h>
int main(void){
FILE *wf;
int i;
wf = fopen("output.txt","w");
for(i=427;i<=449;i++){
fprintf(wf,"if(this.hitTest(_root.E_shot%d) == true){\n",i);
fprintf(wf,"\t_root.score += burst_Hit_E_shot;\n");
fprintf(wf,"\t_root.E_shot%d.removeMovieClip();\n",i);
fprintf(wf,"\tthis.removeMovieClip\n");
fprintf(wf,"}\n");
}
fclose(wf);
return 0;
}
■ このスレッドは過去ログ倉庫に格納されています