title: How to create an array of const structs
body: <p>I want to be able to create const structs with specific info easily, so have decided to declare and initialise them "one-line-at-a-time", so I can simply add new const structs as I need them. This works fine, but how can I create some kind of array to access each of these const structs? I tried the following, but it doesn't work.</p>
  
  <pre><code>typedef struct
  {
      int numOfNotes;
      char *arpName;
      double freqRatios[12];
  } ARPINFO;
  
  const ARPINFO majorArp = {3,"Major Arpeggio",{0.0,JUST_MAJ_3,JUST_PERF_5}};
  const ARPINFO minorArp = {3,"Minor Arpeggio",{0.0,JUST_MIN_3,JUST_PERF_5}};
  
  const ARPINFO arpInfoArray[2] = {majorArp,minorArp}; // ERROR HERE
  </code></pre>
  
  <p>If I can use this way of organising my structs, I'll only have to change the size of the array and add the new const struct to the array, each time I create a new const struct.</p>
  
  <p>Or am I way off track here? Would enums or MACROS help me out?</p>
  
  <p>EDIT: The freqRatios are defined with macros and I understand that the initial 0.0 is likely to be redundant...</p>