title: C++ Array of Arrays, defining parts separately
body: <p>I'm trying to make an array of arrays containing 2 lists of strings (one singular and one plural).</p>
  
  <pre><code>string item_name[2][6];
  string item_name[0] = {"bag of CinnaCandies", "can of Arizona Tea", "Starbucks Mocha Frappe", "copy of Section 8: Prejudice", "Sushi Box", "pair of Nike Jordans"};
  string item_name[1] = {"bags of CinnaCandies", "cans of Arizona Tea", "Starbucks Mocha Frappes", "copies of Section 8: Prejudice", "Sushi Boxes", "pairs of Nike Jordans"};
  </code></pre>
  
  <p>I don't know the proper syntax to do this and I'd like to keep it as an array of 2 arrays so I can have code that says:</p>
  
  <pre><code>if (quantity &gt; 1)
      {
          cout &lt;&lt; item_name[0][index];
      }
      else
      {
          cout &lt;&lt; item_name[1][index];
      }
  </code></pre>
  
  <p>Thanks. :)</p>