, range based loops, strings, stanford C++ library</em></p>

<p>In the following, we will analyze a simple program that filters last names whose end match a specific substring. Given an input string of format:</p>
<div class="language-c++ highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="n">name1</span><span class="p">,</span><span class="n">name2</span><span class="p">,</span> <span class="p">...</span> 
</code></pre></div></div>
<p>and a string suffix, the program returns