title: Iterate alphabet in C/C++
body: <p>How do I translate the following code into C/C++?</p>
  
  <pre><code>string alphabet = "abcdefghijklmnopqrstuvwxyz";
  
  foreach(char c in alphabet)
  {
      // Do something with the letter
  }
  </code></pre>
  
  <p>I want to loop into the alphabet and print each character when a button is pressed. Like how you input a character when using an <a href="http://en.wikipedia.org/wiki/Xbox" rel="noreferrer">Xbox</a>/<a href="http://en.wikipedia.org/wiki/PlayStation_3" rel="noreferrer">PS3</a> controller. You scroll into the entire set of alphabet and then press a button for input.</p>
  
  <p>Basically this is being used in a microcontroller (<a href="http://en.wikipedia.org/wiki/Mbed_microcontroller" rel="noreferrer">mbed</a>) environment. I just need to know how to create the correct logic in looping in C/C++.</p>