“Unresolved inclusion” error with Eclipse CDT for C standard library headers

前端 未结 14 2325
甜味超标
甜味超标 2020-11-28 04:18

I set up CDT for eclipse and wrote a simple hello world C program:

#include 

int main(void){
    puts(\"Hello, world.\");
    return 0;
}
         


        
14条回答
  •  悲哀的现实
    2020-11-28 05:05

    An error I had configuring Paths and Symbols is that initially I configued the include paths for a different language. I'm working with CDT and Cygwin gnu C++. So you must configure symbols and paths under GNU C++ language.

提交回复
热议问题