从路径获取文件名的最简单方法是什么?
string filename = "C:\\MyDirectory\\MyFile.bat"
在这个例子中,我应该得到"MyFile".没有延期.
c++ visual-c++
c++ ×1
visual-c++ ×1