前进的道路不是一帆风顺的,要随时迎接挑战,敢于战胜困难!

坚持一下,找人聊聊天,释放一些压力!

 

VC返回文件所在的路径

//返回文件所在的路径
void GetPath(CString& Des,char* src)
{
    CString TmpStr = src;
    int Location = TmpStr.ReverseFind('""');
    Des = TmpStr.Left(Location);
}

posted on 2008-11-26 17:00  山径山精  阅读(188)  评论(0编辑  收藏  举报

导航