title: #define 'ing multiple macros in one line
body: <p>In C++, we can use <code>#define</code> to define a macro like <code>#define PI 3.14</code> and then use <code>PI</code> all throughout the code to represent <code>3.14</code>.</p>
  
  <p>My question is : Can we <code>#define</code> multiple macros in one line so that I don't need to write n lines to define n macros.</p>
  
  <p>I actually want to do this to represent array elements by alternate names (letters actually) as evident by the code snippet below.</p>
  
  <pre><code>#include &lt;cstdlib&gt;
  #include &lt;math.h&gt;
  #include &lt;time.h&gt;
  #define R dig[0]
  #define E dig[1]
  #define D dig[2]
  #define B dig[3]
  #define L dig[4]
  #define U dig[5]
  #define Y dig[6]
  #define O dig[7]
  #define W dig[8]
  using namespace std;
  
  int main() {
      int dig[9]={1,2,3,4,5,6,7,8,9}; // R,E,D,B,L,U,Y,O,W
      return 0;
  }
  </code></pre>
  
  <p>Is there a method to <code>#define</code> all those macros in one line so that I don't have to write multiple lines like in the above code snippet? Thanks.</p>