I have a file:
variableinclude.h
#ifndef _variableinclude_h_
#define _variableinclude_h_
AClass* variable1;
int* variable2;
#endif
But I include this file in another two different ones:
- atest1.h
- atest2.h
The problem is the following: variable redefinition.
How to avoid that???