OSDN Git Service
(root)
/
twpd
/
master.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Regular updates
[twpd/master.git]
/
c_preprocessor.md
diff --git
a/c_preprocessor.md
b/c_preprocessor.md
index
7450121
..
6684ac0
100644
(file)
--- a/
c_preprocessor.md
+++ b/
c_preprocessor.md
@@
-61,7
+61,14
@@
$ cpp -P file > outfile
```
#define DST(name) name##_s name##_t
-DST(object); #=> "object_s object_t;"
+DST(object); #=> object_s object_t;
+```
+
+### Stringification
+
+```
+#define STR(name) #name
+char * a = STR(object); #=> char * a = "object";
```
### file and line