Question for the Masses
I am working on the same projeect I have been for two weeks now. We are building a class that allows the storage of integers larger than the typicial storage. Basically, it's a dynamically allocaated array and each array slot holds 1 integer.
Furthermore, we need to create operator overloads for the insertion and extration operators and all 6 of the comparison operators and addition, subtraction, division and multiplication.
Currently I am working on multiplication, division subtraction, but most importantly, the extration operator.
I was wondering if anyone had any helps about mainly the extration operator, the >>, or any help in general. I have the storage setup so far, and I have the comparison and addition working properly. Sort of.
But more importantly, I need to get the extration done.
I was planning on using
Thanks for all of your help.
Furthermore, we need to create operator overloads for the insertion and extration operators and all 6 of the comparison operators and addition, subtraction, division and multiplication.
Currently I am working on multiplication, division subtraction, but most importantly, the extration operator.
I was wondering if anyone had any helps about mainly the extration operator, the >>, or any help in general. I have the storage setup so far, and I have the comparison and addition working properly. Sort of.
But more importantly, I need to get the extration done.
I was planning on using
peek() and get to check values on the input stream.Thanks for all of your help.
