Is it necessary to #include some file, if inside a header (*.h), types defined in this file are used?
For instance, if I use GLib and wish to use the gchar basic ...
I have a structure defined in a header file called data.h
I am including data.h in myfile.c
in the structure, I have part of the variables blocked off with
Hi everyone, I'm writing a small module in c, which is going to consist of "*.c" and "*.h" files. I would like to make them absolutely foolprof: the *.c file should not be allowed to be included into main source code, but will be included into the gcc compile command. Googling around for a second day it seems to me that ...