unlink vs remove in c++

前端 未结 5 911
一整个雨季
一整个雨季 2020-12-08 10:09

What is the difference between remove and unlink functions in C++?

5条回答
  •  不思量自难忘°
    2020-12-08 10:26

    unlink is not unix-specific, i don't know why people're saying that. see io.h. although you'll probably have to do something like

    #define unlink _unlink
    

    http://msdn.microsoft.com/en-us/library/1c3tczd6%28v=VS.100%29.aspx

    http://msdn.microsoft.com/en-us/library/2da4hk1d%28v=VS.100%29.aspx

提交回复
热议问题