How do i delete a folder with all its files in it and all those subdirectories and so on
How do i delete a folder with all its files in it and all those subdirectories and so on
Think recursively.....
You can use remove(const char* filename) from <cstdio> or <stdio.h>
on windows systems you can use DeleteFile(LPCTSTR pFilename)
Free the weed!! Class B to class C is not good enough!!
And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi