1. Double quotes around a parameter string of x, producing a string literal.
#defined Identifier( x ) #x
2. The formal arguments x and y concatenates the one formal argument axis.
#defined Identifier( x, y ) x ## y
3. NOTE: # operator and # # operator must not be mixed, it should not be used more than once.
#define XXX(a, b, c) a#b##c is not correct
Please change to:
#define AAA(a, b) a#b
#define BBB(x, y) x##y
No comments:
Post a Comment