标题:请告诉我这句话的意思
取消只看楼主
xhle810131
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2007-4-11
 问题点数:0 回复次数:0 
请告诉我这句话的意思

下面是我的代码
int KString::findSubstring(const KString &strsub) //寻找
{
int i=strsub.getLenth();
if(m_nstrlen<i)
{

}
return 0;
}

报错为
error C2662: 'getLenth' : cannot convert 'this' pointer from 'const class KString' to 'class KString &'

搜索更多相关主题的帖子: convert return cannot 
2007-04-11 23:07



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-131155-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 1.885543 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved