lets say i have 3 headers
one
header1.h
#ifndef header1H
#define header1H
#define ALOHA 1
inline int sum() { return 2+2; }
#endif
second
header2.h
#ifndef header2H
#define header2H
#include "header1.h"
some random code
#endif
and third last file header3.h
#ifndef header3H
#define header3H
#include "header2.h"
some random code
#endif
now my question is while in header3.h
can i access
these two defined in header1.h? (where i header3.h i included only header2.h which includes header1.h)
#define ALOHA 1
inline int sum() { return 2+2; }
i need to know that coz i have a tough time to resolve unresolved external __glewDeleteProgram.
[spoiler]
https://forums.embarcadero.com/thread.jspa?threadID=245303&stqc=true
[/spoiler]