阅读背景:

如何正确地重载“=”操作符来处理重载“[]”操作符的数组?

来源:互联网 

I have to write a class, IntArray, that is essentially an array with a few extra features (not shown). I have to utilize operator overloading to assign elements to an array of integers within the IntArray object. My program properly retrieves elements in the array but it cannot assign elements in the array. I have to write a class, IntArray, that is esse




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: