title: print out all elements of a list C++
body: <p>The following block of code is not working for me. The compiler says that for needs an argument.</p>
  
  <p>the exact error message is Expected an Expression</p>
  
  <pre><code>alfa_it = alfa_list.begin();
  cout &lt;&lt; "the parties that are flying on Alfa are";
  cout &lt;&lt; for (alfa_it = alfa_list.begin(); alfa_it != alfa_list.end(); alfa_it++)
  cout &lt;&lt; " " &lt;&lt; *alfa_it;
  cout &lt;&lt; endl;
  </code></pre>
  
  <p>p.s. alfa is intentionally misspelled.</p>