Hi!
Why cannot i do this? (and any way to do it?)
#define MY_VAL 5
someFunc("the value is MY_VAL");
I thought defines were replaced when compiling exactly as they are written. So why cannot the parameter of the function (char *) interpret this as "the value is 5"?
I also use the MY_VAL as an number such as:
int val = MY_VAL;