C/C++ Headers in NetBeans
I installed IDE NetBeans for C/C++ development. I created C project with main.c and makefile generated netbeans. When i add test.h file in my project and try to compile it, i see that netbeans does not see this header file, and that I would not write it, even if th开发者_如何学编程ere are errors anyway compilation is successful. How to connect a header file in netbeans?
Thanks.
h-file is compiled only when it is included to c/cpp file:
#include "test.h"
精彩评论