Hello i want to check if .txt extension is in the text file named directorycontents.txt which has all my contents of my directory listed in text of which is loads of image.png,title.txt,fail.bmp,etc
how would i do that in c++ looking around on google havn't found an easy and simple solution to my problem so i was hoping someone with more experience would be able to point me in the right direction or show me what to do.