title: Is there a way to do a #define inside of another #define?
body: <p>I know that I am trying to shoot myself in the leg ;) However, it will allow me to make the rest (big amount) of code smaller and more readable. </p>
  
  <p>Is there any tricky way to create preprocessor macro inside of another preprocessor macro?</p>
  
  <p>Here is the example, what I am looking for. My real scenario is more complex</p>
  
  <pre><code>// That's what I want to do and surely C++ doesn't like it.
  #define MACROCREATER(B) #define MACRO##B B+B
  
  void foo()
  {
   MACROCREATOR(5) // This should create new macro (#define MACRO5 5+5)
  
   int a = MACRO5; // this will use new macro
  }
  </code></pre>