How can I tell if a given path is a directory or a file? (C/C++)

后端 未结 7 1465
误落风尘
误落风尘 2020-12-08 13:22

I\'m using C and sometimes I have to handle paths like

  • C:\\Whatever
  • C:\\Whatever\\
  • C:\\Whatever\\Somefile

Is there a way to ch

7条回答
提交回复
热议问题