D
dhun
Hi All,
I have a following kind of situation.
#define i(p) p
#define r(x) i(in)##_##x
int main(){
#define in a
int a,a_b;
a = r(b);
#undef in
}
where I need to construct a symbol ab, at the place where code is
executed.
A g++ -E test.c, however insert a space between a and b.
What could be possible solution for this?
I have a following kind of situation.
#define i(p) p
#define r(x) i(in)##_##x
int main(){
#define in a
int a,a_b;
a = r(b);
#undef in
}
where I need to construct a symbol ab, at the place where code is
executed.
A g++ -E test.c, however insert a space between a and b.
What could be possible solution for this?