vc得到路径中的文件名

方法是用头文件shlwapi.h搜索里面的函数css LPTSTR PathFindFileName(LPCTSTR pPath) 功能:得到路径中的文件名 例: PathFileFileName( “c://Program Files//File.txt” ) => “File.txt”。web void PathStripPath(LPTSTR pszPath ); 功能:从路径中分析出文件名
相关文章
相关标签/搜索