搜索
编程论坛
→
开发语言
→
C++论坛
→
『 C++教室 』
→ [求助]我的操作符重载出了什么问题
标题:
[求助]我的操作符重载出了什么问题
取消只看楼主
dickens20083
等 级:
新手上路
帖 子:1
专家分:0
注 册:2006-10-14
楼主
问题点数:0 回复次数:0
[求助]我的操作符重载出了什么问题
istream& operator>>(istream&in,set&ob)
{
int a=0,b;
while(in>>b )
{
*(ob.getch()+a)=b;
a++;
}
ob.setlen(a);
return in;
}
C:\Documents and Settings\user\桌面\1.cpp(223) : error C2593: 'operator >>' is ambiguous
搜索更多相关主题的帖子:
操作符
重载
2006-10-14 16:59
1
1/1页
1
参与讨论请移步原网站贴子:
https://bbs.bccn.net/thread-96337-1-1.html
关于我们
|
广告合作
|
编程中国
|
清除Cookies
|
TOP
|
手机版
编程中国
版权所有,并保留所有权利。
Powered by
Discuz
, Processed in 0.303952 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved