Delete all .txt in a directory with C++
<p>I'm trying to delete all .txt files in a directory with C++.</p>

<p>Until now, I was using this -> remove("aa.txt");</p>

<p>But now I have more files to delete and would be easier if I could just delete all the .txt files.</p>

<p>Basically I want something similar to this in Batch -> del *.txt</p>

<p>Thanks!</p>
