返回路径中的上一层目录;

CString strPath="D:\\Movie\\周星驰\\";
int ndex=strPath.ReverseFind('\\');
CString strUpPath=strPath.Left(ndex);

posted on 2006-07-12 17:44  路吾  阅读(1285)  评论(1编辑  收藏  举报

导航