Hi there, as you may or may not know, im new to this forum and to c++.
Im writing a program that needs to clean out a directory.
For example, "c:\test\"
Let say this folder contains the following files:
"test1.doc"
"test2.xls"
"test3.txt"
"test4.dll"
etc.
But here is the problem, i dont know what all the files extensions will be or what there names will be, but i do know i will be a windows based operating system.
So, is there a way i can delete all the files in a directory, and if there is sub directories delete them as well?