Failed to resolve id on netbeans

I keep getting the message "Unable to resolve ID file" on netbeans. I am new to c and netbeans. It was good last night, but for some reason, after restarting my computer, this message is saved. Here is the code. What is the problem?

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

int main(int argc, char** argv) {
  char filename[] = "text.dat";
  char line[5];
  FILE *file = fopen(filename, "r");
  return 0;
}
+5
source share
1 answer

I know this is an old post, but today I ran into the same problem. Do not be too fast to assume that the header file provided by the compiler is faulty. This is rarely the case, especially for headers such as stdio.h, which have been around for a long time.

, Netbeans . , , Netbeans. , stdio.h, , . Netbeans , , , . , .

, , include, , , Netbeans, , . , , , , . Project Properties/Code Assistance/C Compiler/Preprocessor Definitions. Netbeans .

+5

All Articles