In my project I have multiple header and source files. Most of these files include a header file called settings.h
This file looks something like this
#ifndef EXTERNAL_H
#define EXTERNAL_H
#define processID 12
...
#endif // EXTERNAL_H
Now I noticed that if I change the processID from a define to a type such as this
int processID;
I start getting linker error. I wanted to know if there was a way for me to change the processID from a define to an int type.