How do I show results that start with a letter e.g A only
<p>I have a <code>list.txt</code> file.</p>

<p>It contains about 100 records, but if user <code>cin</code> a letter, e.g A, I just want show all records containing A in the loop.</p>

<p>Records are recorded in line break format, in shell command we use A*, but in C++, how do we do it?</p>

<p>Example:</p>

<pre><code>Alfred
Alpha
Augustine
Bravo
Charlie
Delta
</code></pre>
