How to make multi line preprocessor macro? I know how to make one line:
#define sqr(X) (X*X)
but I need something like this:
#define someMacro(X)
    class X : public otherClass
    {
         int foo;
         void doFoo();
    };
How can I get this to work?
This is only an example, the real macro may be very long.
 
     
     
     
     
     
     
     
     
    