title: Array of structures
body: <p>Here's the struct:</p>
  
  <pre><code>typedef struct state_machine{
  char name;
  struct state_machine *next0;
  struct state_machine *next1;
  }state;
  </code></pre>
  
  <p>and here's me trying to create an array of them</p>
  
  <pre><code>state[] states = {
        {'A', state+3, state+4},
        {'B', state,   state+5}, 
        {'C', state+4, state  }, 
        {'D', state+5, state+6}, 
        {'E', state+1, state+7}, 
        {'F', state+7, state+3}, 
        {'G', state+2, state+6}, 
        {'F', state+6, state+1}}; 
  </code></pre>
  
  <p>compiler catches the error on the first line, " state[] states = { " </p>
  
  <p>expected identifier or ‘(’ before ‘[’ token</p>