Description
In C++ an int has values in the range 0 to 65535. But what if we need to add larger integers? Say we want compute the sum 2345566777844567+ 9999988777765768009998. Your task in this assignment is to create a class that can make this happen.
Create a Big Integer class where the integers are internally represented as c-strings.
You class should have the following:
-
the appropriate constructors (default, conversion (from c-strings and int), and copy),
-
a destructor
-
assignment operator
-
arithmetic operators (+,-,*)
as well as appropriate input and output operations.