In some .c file, write what you’ve written.
In the appropriate .h file, write
extern const char* QUERY; //just declaration
Include the .h file wherever you need the constant
No other good way 🙂
HTH
In some .c file, write what you’ve written.
In the appropriate .h file, write
extern const char* QUERY; //just declaration
Include the .h file wherever you need the constant
No other good way 🙂
HTH