title: Removing a non empty directory programmatically in C or C++
body: <p>How to delete a non empty directory in C or C++? Is there any function? rmdir only deletes empty directory. Please provide a way without using any external library. </p>
  
  <p>Also tell me how to delete a file in C or C++?</p>