I have to do the huge integer problem,
Create a class HugeInteger which use 40-element array
of digits to store integers as larg as 40 digits each.
Provide member functions input, output, add, subtract ?
The hugeinteger has a int*. So the array in the
hugeinteger has to be dynamically allocated in the
input function (which reads from a text file).
ok so one of the hugeintegers has to be a pointer
to a hugeinteger. The hugeinteger has to be allocated
IN input function.
I have NO CLUE how to use the hugeInteger pointer
with the input function. Like how do i get it to
allocate in the input function?
since a regular Hugeinteger and a pointer to a hugeinteger
will be using the same member function. Please please someone help me i've been working on this code for about 12 hours straight....