c++程序:error C2244:'linearlistlink::insert' :unable to resolv
来源:学生作业帮 编辑:作业帮 分类:综合作业 时间:2024/05/23 16:46:43
c++程序:error C2244:'linearlistlink::insert' :unable to resolve function overload
template
bool linearlistlink::insert(int k,const T& x)
{
if (k0&&!p) throw outofbounds ();
linknode *y=new linknode;
y->date=x;
if(k)
{
y->link=p->link;
p->link=y;
}
else
{
y->link=first;
first=y;
}
return ture;
}
编译之后总是出现:
error C2244:'linearlistlink::insert' :unable to resolve function overload
这是为什么呢?要怎么修改呢?
template
bool linearlistlink::insert(int k,const T& x)
{
if (k0&&!p) throw outofbounds ();
linknode *y=new linknode;
y->date=x;
if(k)
{
y->link=p->link;
p->link=y;
}
else
{
y->link=first;
first=y;
}
return ture;
}
编译之后总是出现:
error C2244:'linearlistlink::insert' :unable to resolve function overload
这是为什么呢?要怎么修改呢?
unable to resolve function overload
不能处理函数重载
你的代码不完整,无法帮你修改错误
不能处理函数重载
你的代码不完整,无法帮你修改错误
Fatal error:Unable to read
Fatal error detected unable to continue
Unable to resolve the request "site/error
Missing File Error Unable to find loca
Error using ==> load Unable to read file C:\MATLAB7\work\pat
帝国时代3 Error:Unable to find splash resources
英语翻译error completing reader installation,Unable to loadC:\Pr
Error:Unable to find some essential data.please ensure that
Sorry,Unable to process request at this time -- error 999.
帝国时代3无法打开Error:unable to find splash resources
Error:Unable to find splash resources这句话是什么意思?
unable to recover from previous error(s); stopping compilati