NetBeans not able to include files

Posted by eSKay on Super User See other posts from Super User or by eSKay
Published on 2010-05-18T19:20:21Z Indexed on 2010/05/18 19:30 UTC
Read the original article Hit count: 491

Filed under:
|
|
|
|

I have been having this problem for a long time now. NetBeans is almost impossible to use with C/C++, maybe because it was not made for it in first place.

Anyways what happens is this: I have this setup for C/C++ alt text

But, the programs are displayed like this:

alt text

It is not able to find any header file!! I know it is a C++ program, the same thing happens with #include <cstdio>. As a result, it is not able to find the definition of printf and fails.

Same thing happens with a .c file.

Also, gcc works fine from the command line.

Did someone face this problem before? What do I need to do to make this work?

© Super User or respective owner

Related posts about c

    Related posts about c++