rt
解决方案 »
- 多线程与双核CPU的问题
- 如何声明一个单纯的接口类?
- evc++ 程序问题
- 如果建立项目时没有选择数据库支持,以后项增加数据库,在vc6中好实现吗?
- 怎么在单文档里加个关程序快捷键?
- 为什么我的文件中没有写入
- 请问用ADO操作数据库用IADORecordBinding有什么好处?我不用也照样能用啊,如添加、新增、更新、删除都很好。
- 带BS_DEFPUSHBUTTON参数生成的默认按钮如何实现其功能?
- 请问用vc如何屏蔽键盘上的屏幕拷贝键(Print Screen Sys Rq)
- 学C#去了,但愿我的决定没错。
- 求助:各位大哥,请帮我看看这个托盘菜单问题,好吗?谢谢!
- unicode下注册表的问题
str = _T("abcdefg.zip");
int iPos = str.find('.');
str1.Left(iPos+1);
str = _T("abcdefg.zip");
int iPos = str.Find('.');
str1 = str.Left(iPos);
strfilename = _T("abcdefg.zip"); //your file nameif(!strfilename.IsEmpty())
{
int iposition = strfilename.Find('.')//Searches this string for the first match
/*
int iposition = strfilename.ReverseFind('.') //Searches this string for the last match
*/
strfiledata = strfilename.Left(iposition);
}
str = _T("abcdefg.zip");
int iPos = str.find('.');
str1.Left(iPos+1);