I have to take in a number that is bigger than one digit and put them into an array and give each digit it's own place in an array. then I guess i have to create an array with those same digits to an int. lol how? haha
// Precondition: The user is ready to enter an integer
// Postcondition: The digits of the integer read in are stored
// in reverse order in the array a and the number of digits is
// stored in sizeA. Array a will have been dynamically allocated
void inputBigInt(IntArrayPtr &a, int& sizeA)
{
char* NumberArray;
NumberArray = new char[MAX_SIZE];
using namespace std;
char number;
cout << "Please enter a number. ";
cin >> number;
NumberArray[MAX_SIZE] = number;
cout << NumberArray[MAX_SIZE];
cout << endl;
}