【已解决】为什么这样写会出错?
int start=html.Find("1);
if (start==-1) return NULL;
html为一cstring;
提示:
error C2668: 'CString::CString' : ambiguous call to overloaded function
[此贴子已经被作者于2007-9-1 15:59:12编辑过]
int start=html.Find("1);
if (start==-1) return NULL;
html为一cstring;
提示:
error C2668: 'CString::CString' : ambiguous call to overloaded function
[此贴子已经被作者于2007-9-1 15:59:12编辑过]
2007-09-01 14:54
html.find(1)返回char型
你怎么能把char类型的值赋给int型呢?

2007-09-01 15:04
error C2668: 'CString::CString' : ambiguous call to overloaded function
这条是重载函数调用的二义性错误,出错的代码在上面看不出来

2007-09-01 15:49
2007-09-01 15:58