I have a function in header file, because I want to change input matrix size when running.
When I include this header file and compile, it seems it cannot detect the change of file and macro value of X_SIZE. Could you tell me the reason, please?
And if you are using C++ (probably, not, because you are using a raw char pointer instead of string), you could (and should) replace #define 's like these by const variables.