C/macros
From Attie's Wiki
(Difference between revisions)
m (Created page with '<source lang="c"> #include <stdio.h> struct { int hello; } test; #define say(a) printf("..."#a"...%d\n",test.a); int main(void) { test.hello = 102; say(hello); } </source…') |
Revision as of 18:08, 19 May 2011
#include <stdio.h> struct { int hello; } test; #define say(a) printf("..."#a"...%d\n",test.a); int main(void) { test.hello = 102; say(hello); }