What I'm trying to do is to #define
a macro:
#define a(2)
and later use it inside a string literal: string = "a";
.
I want that string to be interpreted not as string but to get the value of a
, i.e. 2. I didn't succeed, can anybody help?
What I'm trying to do is to #define
a macro:
#define a(2)
and later use it inside a string literal: string = "a";
.
I want that string to be interpreted not as string but to get the value of a
, i.e. 2. I didn't succeed, can anybody help?