This C++ program uses a dynamic array of integers to represent a data type for massive numbers. You can use this to perform basic arithmetic with large numbers.
This program makes use of many object oriented design principles. Such as:
-- C++ Operator Overloads (+,-,*,<,>,<=,>=,==,!=,>>, and <<)
-- Multiple Constructors (Default, Conversion Constructors)
-- Deep Copy Constructor
-- Assignment Operator
-- Pre-fix and Post-fix Operators
- Compile the .cpp and driver files with "g++ testMain.cpp myint.cpp"
- Use the a.out file with the input or you can supply your own numbers. i.e. "./a.out < input.txt" or "./a.out", respectively.
The expected output file is what you should get if you run the testDriver with the input file. Actual is what I get when I run it with the input.