Menu

How delete file???

2006-05-25
2012-09-26
  • Nobody/Anonymous

    Hi
    Somebody can prompt the command for file delete?

     
    • Nobody/Anonymous

      "file_file_go_away__do_not_comeback_another_day"

       
    • Nobody/Anonymous

      did you actually consider searching the MSDN API docs for "delete (file)", you would have surely come up with plenty of different ways. The more portable ones are using unlink or even a system call to execute a platform specific command such as del/ete.

       
      • Anonymous

        Anonymous - 2006-05-25

        unlink() is a Unix function. The preferred ISO version is remove().

         
    • Anonymous

      Anonymous - 2006-05-25

      http://www.cppreference.com/stdio/remove.html

      At least an basic knowledge of the standard library is probably useful, you will not progress particularly fast if you cannot resolve such simple issues on your own. Get yourself a good paper based reference in the meantime, http://www.cppreference.com is a reasonable summary.

      Clifford

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.