65,207
社区成员
发帖
与我相关
我的任务
分享
interge& operator++()
{
cout<<"前置++"<<endl;
this->num++;
return *this;
}
const interge operator++(int)
{
cout<<"后置++"<<endl;
interge tem;
tem=this->num;
this->num++;
return tem;
}