title: printing first letter of C++ string arrays
body: <p>Hey Guys I'm new to c++ and was wondering how I can print out the first letter of my array. Take a look below:</p>
  <pre><code>string arr[] = { &quot;Ron&quot;, &quot;Red&quot;, &quot;Frun&quot; };
  
  for each (string var in arr)
  {
      if (var.front == &quot;R&quot;)
      {
          cout &lt;&lt; var &lt;&lt; endl;
      }
  }
  </code></pre>
  <p>I would like to print out strings in the array that begin with the letter R like Red and Ron</p>