Home
       0153-cpp_string.c - scc - simple c99 compiler
  HTML git clone git://git.simple-cc.org/scc
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
   DIR README
   DIR LICENSE
       ---
       0153-cpp_string.c (241B)
       ---
            1 #define M1(x,y) "This is a string $ or # or ## " #x y
            2 #define STR "This is a string $ or # or ## and it is ok!"
            3 
            4 int
            5 main(void)
            6 {
            7         char *s, *t = M1(and, " it is ok!");
            8 
            9         for (s = STR; *s && *s == *t; ++s)
           10                 ++t;
           11 
           12         return *s;
           13 }