Our Recommendation for You Search your Query, You can find easily. for example search by book name or course name or any other which is related to your education

Followers

how to delete a folder using c++

how to delete a folder using c++


How to delete a folder in c++:-
This is the source code that how to delete a folder in a computer using c++


#include <errno.h>
#include <dirent.h>
#include <stdio.h>
#include <stdlib.h>
#include <iostream>
#include <fstream>
    using namespace std;
 
    int main()
    {                                        
    rmdir("D:/myfolder");          //myfolder is the name of the folder
    return 0;
    }
End

Our Recommendations
how to fill and display array using functions
C Programming books download
how to fill the array of five elements
How to Download and Install Turbo C++ Compiler
How to make a folder using c++
how to shut down your computer using c++