|
|
prog.cpp:8:1: error: pasting ""Apollo_"" and ""12"" does not give a valid preprocessing token
#define MISSION(x) "Apollo_" #x
MISSION(12)
will expand to "Apollo_" "12"
, which is the same as "Apollo_12"
.##
is used for concatenating preprocessing tokens, not strings.