I am writing a c program consisting of 5 modules, each with an associated header file where functions prototypes are written. Only, I have a c file/header pair that I only use for defining constant arrays, and following the logic I used for the other files I declared my constants in the header and initialized them in the c file.
Only it does't feel.. natural. Shoudln't I be declaring those constants using the #define preprocessor directive? Is it a good use case for using #define or am I not correctly understanding its meaning correctly?
(I am already using the #ifndef #define structure in my header file, and I understand that use case)