How do I write a cpp macro which expands to include newlines?
The C compiler is aware of white space, but it doesn't distinguish between spaces, tabs or new lines.
If you mean how do I have a new line inside a string in a macro, then:
#define SOME_STRING "Some string\n with a new line."
will work.