almost done # and ##
This commit is contained in:
parent
141bc9e49a
commit
a2e594c9be
2 changed files with 61 additions and 5 deletions
|
@ -1,8 +1,12 @@
|
|||
#define STRINGIFY2(x) #x
|
||||
#define STRINGIFY2(x) # x
|
||||
#define STRINGIFY(x) STRINGIFY2(x)
|
||||
#define JOIN2(x,y) x ## y
|
||||
#define JOIN(x,y) JOIN2(x, y)
|
||||
#define X 22
|
||||
STRINGIFY(X)
|
||||
|
||||
JOIN2(X, X)
|
||||
|
||||
STRINGIFY(X)
|
||||
|
||||
#define E 5
|
||||
#define D E
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue