Wednesday 29 May 2013

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

16 comments:

  1. thankx for this...

    ReplyDelete
  2. Affordable Web Designing & Development Company India
    website designing company in noida

    ReplyDelete
  3. This is the first time i read your blog and admire that you have posted on this...I really found useful.Keep updated.

    Online export documentation software
    export documentation software

    ReplyDelete
  4. Very useful blog. Thanks for the information.

    visit: C++ Training

    ReplyDelete
  5. I found nice article in your blog thank you.
    visit
    web programming tutorial
    welookups.com

    ReplyDelete
  6. Merry Christmas,
    Very nice and informative post. Please keep it up. If you want to read Christmas Wishes For Friends you have to see the link
    Thank you,

    ReplyDelete
  7. Christmas Speech Sample
    Merry Christmas,
    You are so interesting! I don't believe I've truly read through anything like that before. So wonderful to discover another person with a few unique thoughts on this issue. Seriously.. many thanks for starting this up. This website is something that is required on the internet, someone with a bit of originality! If you want to read Christmas Speech Sample you have to see the link
    Thank you,

    ReplyDelete
  8. Hi,
    The very next time I read a blog, I hope that it does not disappoint me as much as this particular one.Happy New Year Quotes For Friends I mean, I know it was my choice to read, but I truly thought you would probably have something useful to say. All I hear is a bunch of crying about something that you could possibly fix if you were not too busy searching for attention.
    Thanks

    ReplyDelete
  9. Nice article bro,It is useful.
    Introduction to C++.

    ReplyDelete
  10. If you have no knowledge of coding..So don't panic...feel free to discuss with us...C++ development company

    ReplyDelete

  11. I appreciate this piece of useful information. Kshemkari Export Import academy one of the best leading Trade and Training Institute for import and export business, provides the best service in India with expert TeamFor more information visit our site: Export Import Certificate Online Training

    ReplyDelete
  12. Really..Informative content.contact us for Artificial intelligence solutions Artificial Intelligence solutions

    ReplyDelete