私は Eclipse CDT を使用しており、goto
その後にラベルと FILE 定義があり、プロジェクトをコンパイルするとエラーが表示されます: Expression expected before FILE
.
前もってありがとう、マンさん
編集:
わかりました、これは私がコマンドラインから得たものです:
iOS.c: In function ‘main’:
iOS.c:45: error: expected expression before ‘FILE’
iOS.c:49: error: ‘preFile’ undeclared (first use in this function)
iOS.c:49: error: (Each undeclared identifier is reported only once
iOS.c:49: error: for each function it appears in.)`
そして、これはコードがエラーをスローするものです:
fileExists:
FILE *preFile = fopen("prefix.txt","r");