A
atindrasrs
suppose my source code is divided into several modules and there are
many header files like a.h, b.h, c.h, d.h. It is possible that one .c
file say d.c needs b.h and c.h, c.c may need a.h and so on. lot of
dependencies. In such a case, is it better to have a single header
file "all.h" like this -
all.h
#include "a.h"
#include "b.h"
#include "c.h"
#include "d.h"
Then include this all.h in all the .c files ??
many header files like a.h, b.h, c.h, d.h. It is possible that one .c
file say d.c needs b.h and c.h, c.c may need a.h and so on. lot of
dependencies. In such a case, is it better to have a single header
file "all.h" like this -
all.h
#include "a.h"
#include "b.h"
#include "c.h"
#include "d.h"
Then include this all.h in all the .c files ??