如何简捷得到文件名字 _splitpath(FilePath, NULL, NULL, FileName, NULL); 最简单了 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 CString str="xx:\xxx\xxxx\xxxx\2.txt";int nPos =str.Find('\\');CString strFileName =str.Right(str.Length()-nPos);//大概是这样的,但没测试 用了reFreever的建议可以使用. tab控件显示不出 对ADOBE的InDesign和Illustrator进行二次开发 单文档中使用MSComm进行串口通信,是可以的吧??? 风吹鸡弹壳,分散人安乐 如何让CRect的区域透明????? CFile的小问题,各位大侠帮帮忙 FTP服务器上InternetReadFile出错? 串口 我想问一下CFileFind类的FindFile()与FindNextFile()的区别,它要找的是目录?文件?还是两者皆可? 在线结分 调用API 波特率不支持4800 用来防碰撞机制,获得天线范围内的一张卡的卡号 VC6.0容器的迭代器初始化存在问题
int nPos =str.Find('\\');
CString strFileName =str.Right(str.Length()-nPos);//大概是这样的,但没测试