O_o
Can you write the macro `DOEACH` such that
works?Code:#define APP(X) printf("%d\n", X); DOEACH(APP, (1)(2)(3))
If not, I'd spend some more time getting cosy with the preprocessor.
In C++, that same thought process of puling bits apart can help you with template mastery.
Soma