Question: In C++, I would like to fill a dynamic array using an overloaded istream. The purpose is to create a large integer bigger then normal
In C++, I would like to fill a dynamic array using an overloaded istream. The purpose is to create a large integer bigger then normal data types allow. So the idea is to prompt the user to enter a big positive integer of 100 characters max through an overloaded istream using a dynamic array. I read that the best way is to store the numbers as characters backwards (because I will eventually be adding two sets of arrays) but I am not sure how to write that.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
